Commit 987b109
authored
chore: add llms.txt generation for LLM-friendly docs (#39)
Generate llms.txt and llms-full.txt at docs build time following the
llmstxt.org standard. The concise index links to API sections while
the full file contains complete TypeScript type signatures for all 5
packages with an LLM agent instructions section.
- Add scripts/generate-llms-txt.ts (reads versions from package.json)
- Add static/robots.txt pointing sitemap to llms.txt
- Update docs workflow to run generation + copy static files
- Add docs:llms script to package.json1 parent 25e70ec commit 987b109
4 files changed
Lines changed: 1120 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
42 | 42 | | |
43 | 43 | | |
44 | 44 | | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
| 49 | + | |
| 50 | + | |
45 | 51 | | |
46 | 52 | | |
47 | 53 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
15 | 15 | | |
16 | 16 | | |
17 | 17 | | |
| 18 | + | |
18 | 19 | | |
19 | 20 | | |
20 | 21 | | |
| |||
0 commit comments