Commit 4d8ba95
authored
feat(docs): add llms plugin (#1625)
## Summary
Add `vitepress-plugin-llms` to the Vite+ docs build so the published
docs include LLM-friendly documentation outputs.
This follows the same plugin-based approach used by
[tsdown](https://tsdown.dev/). The plugin generates `/llms.txt` during
`vitepress build`, along with the corresponding Markdown files that the
generated `.md` links point to.
## Details
- Adds `vitepress-plugin-llms` to the docs dependencies.
- Registers the plugin in `docs/.vitepress/config.mts`.
- Excludes `team.md` from the LLM docs output.
- Uses the docs site description as the generated `llms.txt`
description.
- Leaves plugin defaults enabled, so generated `.md` links in
`llms.txt`are backed by actual generated Markdown files.
closes #13441 parent e80e241 commit 4d8ba95
3 files changed
Lines changed: 718 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
4 | 4 | | |
5 | 5 | | |
6 | 6 | | |
| 7 | + | |
7 | 8 | | |
8 | 9 | | |
9 | 10 | | |
| |||
129 | 130 | | |
130 | 131 | | |
131 | 132 | | |
| 133 | + | |
| 134 | + | |
| 135 | + | |
| 136 | + | |
| 137 | + | |
132 | 138 | | |
133 | 139 | | |
134 | 140 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
14 | 14 | | |
15 | 15 | | |
16 | 16 | | |
| 17 | + | |
17 | 18 | | |
18 | 19 | | |
19 | 20 | | |
| |||
0 commit comments