Skip to content

Commit f4176d8

Browse files
docs: generate sitemap
## Problem Search results continue to surface the retired `tsx.is` domain, while the current documentation site returns 404 for `/sitemap.xml`. Search engines do not receive an explicit list of documentation URLs on the current hostname. ## Changes Enable VitePress's built-in sitemap generation for `https://tsx.hirok.io`. The existing `lastUpdated` setting adds per-page `<lastmod>` metadata to the generated sitemap.
1 parent 8d4ffc2 commit f4176d8

1 file changed

Lines changed: 4 additions & 0 deletions

File tree

‎docs/.vitepress/config.ts‎

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,10 @@ export default defineConfig({
1010

1111
description,
1212

13+
sitemap: {
14+
hostname: 'https://tsx.hirok.io',
15+
},
16+
1317
lastUpdated: true,
1418

1519
cleanUrls: true,

0 commit comments

Comments
 (0)