docs: fix sidebar overflow at mid-width viewports and add a favicon (#2426)

This commit is contained in:
Max 2026-07-02 20:38:50 +01:00 • committed by GitHub
commit 43c13c5fd5
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -30,6 +30,8 @@ export default defineConfig({
title: 'MCP TypeScript SDK',
description: 'The TypeScript SDK implementation of the Model Context Protocol specification.',
base: '/v2/',
// VitePress does not base-prefix head hrefs, so /v2/ is spelled out here.
head: [['link', { rel: 'icon', type: 'image/svg+xml', href: '/v2/favicon.svg' }]],
srcExclude: ['v1/**', '_meta/**', 'behavior-surface-pins.md'],
sitemap: { hostname: `${siteUrl}/` },
markdown: {