feat(site): split llms.txt into per-framework and blog sub-indexes (#697)

This commit is contained in:
Darius Cepulis
2026-03-03 17:18:26 -06:00
committed by GitHub
parent cc5b37e351
commit 916f4700ae
2 changed files with 112 additions and 95 deletions
+8 -1
View File
@@ -57,7 +57,14 @@ export default defineConfig({
}),
mdx({ extendMarkdownConfig: true }),
sitemap({
customPages: [`${SITE_URL}/llms.txt`],
// llms-markdown.ts auto-generates per-framework sub-indexes, but sitemap
// entries are hardcoded here. Add a new line when adding a framework.
customPages: [
`${SITE_URL}/llms.txt`,
`${SITE_URL}/blog/llms.txt`,
`${SITE_URL}/docs/framework/html/llms.txt`,
`${SITE_URL}/docs/framework/react/llms.txt`,
],
}),
pagefind(),
llmsMarkdown(),