Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
55 changes: 53 additions & 2 deletions website/docusaurus.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ const config: Config = {
favicon: 'img/vllm.png',

// Set the production url of your site here
url: 'https://your-docusaurus-test-site.com',
url: 'https://vllm-semantic-router.com',
// Set the /<baseUrl>/ pathname under which your site is served
// For GitHub pages deployment, it is often '/<projectName>/'
baseUrl: '/',
Expand Down Expand Up @@ -63,6 +63,12 @@ const config: Config = {
theme: {
customCss: './src/css/custom.css',
},
sitemap: {
changefreq: 'weekly',
priority: 0.5,
filename: 'sitemap.xml',
ignorePatterns: ['/tags/**', '/search'],
},
} satisfies Preset.Options,
],
],
Expand All @@ -82,8 +88,25 @@ const config: Config = {
],

themeConfig: {
// Replace with your project's social card
image: 'img/docusaurus-social-card.jpg',
metadata: [
{ name: 'description', content: 'Intelligent Auto Reasoning Router for Efficient LLM Inference on Mixture-of-Models' },
{ name: 'keywords', content: 'LLM, Semantic Router, Mixture of Models, vLLM, Routing, AI Gateway, Envoy, ExtProc' },
{ name: 'author', content: 'vLLM Semantic Router Team' },
{ property: 'og:title', content: 'vLLM Semantic Router' },
{ property: 'og:description', content: 'Intelligent Auto Reasoning Router for Efficient LLM Inference on Mixture-of-Models' },
{ property: 'og:type', content: 'website' },
{ property: 'og:site_name', content: 'vLLM Semantic Router' },
{ name: 'twitter:card', content: 'summary_large_image' },
{ name: 'twitter:title', content: 'vLLM Semantic Router' },
{ name: 'twitter:description', content: 'Intelligent Auto Reasoning Router for Efficient LLM Inference on Mixture-of-Models' },

// GEO metadata config
{ name: 'geo.region', content: 'US-CA' },
{ name: 'geo.placename', content: 'San Francisco' },
{ name: 'geo.position', content: '37.7749;-122.4194' },
{ name: 'ICBM', content: '37.7749, -122.4194' },
],
navbar: {
title: 'vLLM Semantic Router',
logo: {
Expand Down Expand Up @@ -235,6 +258,34 @@ const config: Config = {
respectPrefersColorScheme: true,
},
} satisfies Preset.ThemeConfig,
headTags: [
{
tagName: 'link',
attributes: {
rel: 'alternate',
hreflang: 'en',
href: 'https://vllm-semantic-router.com/',
},
},
{
tagName: 'script',
attributes: { type: 'application/ld+json' },
innerHTML: JSON.stringify({
'@context': 'https://schema.org',
'@type': 'SoftwareApplication',
'name': 'vLLM Semantic Router',
'applicationCategory': 'AIInfrastructure',
'operatingSystem': 'Cross-platform',
'description': 'Intelligent Auto Reasoning Router for Efficient LLM Inference on Mixture-of-Models',
'url': 'https://vllm-semantic-router.com',
'publisher': {
'@type': 'Organization',
'name': 'vLLM Semantic Router Team',
'url': 'https://github.com/vllm-project/semantic-router',
},
}),
},
],
}

export default config
12 changes: 11 additions & 1 deletion website/src/theme/Root.tsx
Original file line number Diff line number Diff line change
@@ -1,10 +1,20 @@
import React from 'react'
import Root from '@theme-original/Root'
import ScrollToTop from '../components/ScrollToTop'
import Head from '@docusaurus/Head'
import { useLocation } from '@docusaurus/router'

export default function RootWrapper(props: any): React.ReactElement {
export default function RootWrapper(props: React.ComponentProps<typeof Root>): React.ReactElement {
const location = useLocation()
const base = 'https://vllm-semantic-router.com'
const canonicalUrl = `${base}${location.pathname}`.replace(/\/$/, '')
return (
<>
<Head>
<link rel="canonical" href={canonicalUrl} />
<meta property="og:url" content={canonicalUrl} />
<meta name="twitter:url" content={canonicalUrl} />
</Head>
<Root {...props} />
<ScrollToTop />
</>
Expand Down
5 changes: 5 additions & 0 deletions website/static/robots.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
# https://www.robotstxt.org/robotstxt.html
User-agent: *
Disallow:

Sitemap: https://vllm-semantic-router.com/sitemap.xml
Loading