mirror of
https://github.com/zoriya/v10.git
synced 2026-08-16 02:45:09 +00:00
feat(site): split llms.txt into per-framework and blog sub-indexes (#697)
This commit is contained in:
@@ -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(),
|
||||
|
||||
Reference in New Issue
Block a user