Skip to content

Commit 74d6ce5

Browse files
authored
Merge branch 'main' into doc-gateway-integrations
2 parents f6fcb8a + 13db404 commit 74d6ce5

File tree

4 files changed

+86
-3
lines changed

4 files changed

+86
-3
lines changed

website/docusaurus.config.ts

Lines changed: 53 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ const config: Config = {
1111
favicon: 'img/vllm.png',
1212

1313
// Set the production url of your site here
14-
url: 'https://your-docusaurus-test-site.com',
14+
url: 'https://vllm-semantic-router.com',
1515
// Set the /<baseUrl>/ pathname under which your site is served
1616
// For GitHub pages deployment, it is often '/<projectName>/'
1717
baseUrl: '/',
@@ -63,6 +63,12 @@ const config: Config = {
6363
theme: {
6464
customCss: './src/css/custom.css',
6565
},
66+
sitemap: {
67+
changefreq: 'weekly',
68+
priority: 0.5,
69+
filename: 'sitemap.xml',
70+
ignorePatterns: ['/tags/**', '/search'],
71+
},
6672
} satisfies Preset.Options,
6773
],
6874
],
@@ -82,8 +88,25 @@ const config: Config = {
8288
],
8389

8490
themeConfig: {
85-
// Replace with your project's social card
8691
image: 'img/docusaurus-social-card.jpg',
92+
metadata: [
93+
{ name: 'description', content: 'Intelligent Auto Reasoning Router for Efficient LLM Inference on Mixture-of-Models' },
94+
{ name: 'keywords', content: 'LLM, Semantic Router, Mixture of Models, vLLM, Routing, AI Gateway, Envoy, ExtProc' },
95+
{ name: 'author', content: 'vLLM Semantic Router Team' },
96+
{ property: 'og:title', content: 'vLLM Semantic Router' },
97+
{ property: 'og:description', content: 'Intelligent Auto Reasoning Router for Efficient LLM Inference on Mixture-of-Models' },
98+
{ property: 'og:type', content: 'website' },
99+
{ property: 'og:site_name', content: 'vLLM Semantic Router' },
100+
{ name: 'twitter:card', content: 'summary_large_image' },
101+
{ name: 'twitter:title', content: 'vLLM Semantic Router' },
102+
{ name: 'twitter:description', content: 'Intelligent Auto Reasoning Router for Efficient LLM Inference on Mixture-of-Models' },
103+
104+
// GEO metadata config
105+
{ name: 'geo.region', content: 'US-CA' },
106+
{ name: 'geo.placename', content: 'San Francisco' },
107+
{ name: 'geo.position', content: '37.7749;-122.4194' },
108+
{ name: 'ICBM', content: '37.7749, -122.4194' },
109+
],
87110
navbar: {
88111
title: 'vLLM Semantic Router',
89112
logo: {
@@ -235,6 +258,34 @@ const config: Config = {
235258
respectPrefersColorScheme: true,
236259
},
237260
} satisfies Preset.ThemeConfig,
261+
headTags: [
262+
{
263+
tagName: 'link',
264+
attributes: {
265+
rel: 'alternate',
266+
hreflang: 'en',
267+
href: 'https://vllm-semantic-router.com/',
268+
},
269+
},
270+
{
271+
tagName: 'script',
272+
attributes: { type: 'application/ld+json' },
273+
innerHTML: JSON.stringify({
274+
'@context': 'https://schema.org',
275+
'@type': 'SoftwareApplication',
276+
'name': 'vLLM Semantic Router',
277+
'applicationCategory': 'AIInfrastructure',
278+
'operatingSystem': 'Cross-platform',
279+
'description': 'Intelligent Auto Reasoning Router for Efficient LLM Inference on Mixture-of-Models',
280+
'url': 'https://vllm-semantic-router.com',
281+
'publisher': {
282+
'@type': 'Organization',
283+
'name': 'vLLM Semantic Router Team',
284+
'url': 'https://github.com/vllm-project/semantic-router',
285+
},
286+
}),
287+
},
288+
],
238289
}
239290

240291
export default config

website/sidebars.ts

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -57,6 +57,8 @@ const sidebars: SidebarsConfig = {
5757
'installation/k8s/production-stack',
5858
'installation/k8s/aibrix',
5959
'installation/k8s/gateway-api-inference-extension',
60+
'installation/k8s/istio',
61+
'installation/k8s/llm-d',
6062
],
6163
},
6264
'installation/docker-compose',
@@ -108,6 +110,21 @@ const sidebars: SidebarsConfig = {
108110
'tutorials/observability/open-webui-integration',
109111
],
110112
},
113+
{
114+
type: 'category',
115+
label: 'Integration',
116+
items: [
117+
'tutorials/integration/production-stack-integration',
118+
],
119+
},
120+
{
121+
type: 'category',
122+
label: 'MCP Classification',
123+
items: [
124+
'tutorials/mcp-classification/overview',
125+
'tutorials/mcp-classification/protocol',
126+
],
127+
},
111128
],
112129
},
113130
{

website/src/theme/Root.tsx

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,20 @@
11
import React from 'react'
22
import Root from '@theme-original/Root'
33
import ScrollToTop from '../components/ScrollToTop'
4+
import Head from '@docusaurus/Head'
5+
import { useLocation } from '@docusaurus/router'
46

5-
export default function RootWrapper(props: any): React.ReactElement {
7+
export default function RootWrapper(props: React.ComponentProps<typeof Root>): React.ReactElement {
8+
const location = useLocation()
9+
const base = 'https://vllm-semantic-router.com'
10+
const canonicalUrl = `${base}${location.pathname}`.replace(/\/$/, '')
611
return (
712
<>
13+
<Head>
14+
<link rel="canonical" href={canonicalUrl} />
15+
<meta property="og:url" content={canonicalUrl} />
16+
<meta name="twitter:url" content={canonicalUrl} />
17+
</Head>
818
<Root {...props} />
919
<ScrollToTop />
1020
</>

website/static/robots.txt

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
# https://www.robotstxt.org/robotstxt.html
2+
User-agent: *
3+
Disallow:
4+
5+
Sitemap: https://vllm-semantic-router.com/sitemap.xml

0 commit comments

Comments
 (0)