Commit e26f3d8
committed
enable llms.txt generation with starlight plugin
This GEO optimization change enables llms.txt generation by integrating
`starlight-llms-txt` into the Starlight configuration.
What changed:
- added `starlight-llms-txt` dependency
- imported the plugin in `astro.config.ts`
- registered `starlightLlmsTxt()` in Starlight `plugins`
Why:
- generate `llms.txt`, `llms-full.txt`, and `llms-small.txt` directly from docs
- keep default plugin behavior first and only tune `promote`/`exclude` if needed
Manual testing:
- ran `bun lint`
- ran `bun run build`
- verified generated outputs in `dist/`: `llms.txt`, `llms-full.txt`, `llms-small.txt`
Special considerations:
- benchmark loop artifacts were intentionally not kept in the repository
- no Search Console/Bing submission changes are included here1 parent b7f589d commit e26f3d8
3 files changed
+33
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
| 3 | + | |
3 | 4 | | |
4 | 5 | | |
5 | 6 | | |
| |||
89 | 90 | | |
90 | 91 | | |
91 | 92 | | |
| 93 | + | |
92 | 94 | | |
93 | 95 | | |
94 | 96 | | |
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
14 | 14 | | |
15 | 15 | | |
16 | 16 | | |
17 | | - | |
| 17 | + | |
| 18 | + | |
18 | 19 | | |
19 | 20 | | |
20 | 21 | | |
| |||
0 commit comments