From e2426cc303d100b68ef794e0e42f7d5f6bac54e6 Mon Sep 17 00:00:00 2001 From: Yangshun Date: Tue, 10 Nov 2026 13:08:07 +0800 Subject: [PATCH] docs: publish a sitemap for void.cloud The docs build never emitted sitemap.xml, so the site returned 404 for it. Co-authored-by: Cursor --- docs/.vitepress/config.ts | 3 +++ docs/public/robots.txt | 1 + 2 files changed, 4 insertions(+) create mode 100644 docs/public/robots.txt diff --git a/docs/.vitepress/config.ts b/docs/.vitepress/config.ts index 11f2f86a3..be0dd5295 100644 --- a/docs/.vitepress/config.ts +++ b/docs/.vitepress/config.ts @@ -170,6 +170,9 @@ export default extendConfig( title: 'Void', description: 'Build with Vite. Deploy with Void.', cleanUrls: true, + sitemap: { + hostname: 'https://void.cloud', + }, head: [['link', { rel: 'icon', type: 'image/svg+xml', href: '/icon.svg' }]], appearance: 'dark', diff --git a/docs/public/robots.txt b/docs/public/robots.txt new file mode 100644 index 000000000..a2f18c652 --- /dev/null +++ b/docs/public/robots.txt @@ -0,0 +1 @@ +Sitemap: https://void.cloud/sitemap.xml