diff --git a/.vitepress/config.mts b/.vitepress/config.mts index a876353..3a850c3 100644 --- a/.vitepress/config.mts +++ b/.vitepress/config.mts @@ -66,6 +66,9 @@ export default defineConfig({ cleanUrls: true, lastUpdated: false, ignoreDeadLinks: true, + sitemap: { + hostname: SITE_URL, + }, head: [ // Google Tag Manager ['script', {}, `(function (w, d, s, l, i) { diff --git a/docs/public/robots.txt b/docs/public/robots.txt new file mode 100644 index 0000000..8039ac6 --- /dev/null +++ b/docs/public/robots.txt @@ -0,0 +1,4 @@ +User-agent: * +Allow: / + +Sitemap: https://docs.isharkfly.com/sitemap.xml