Commit 5f7f277
AFDocs fixes: improve llms-txt-coverage with complete customSets (#41)
* AFDocs fixes: improve llms-txt-coverage with complete customSets
- Add root pages (index, quickstart) to the Getting Started custom set
- Simplify Support custom set to use support-and-community/** glob
instead of manually listing individual pages, which missed
warp-preview-and-alpha-program
- Fix indentation inconsistency in customSets config
Co-Authored-By: Oz <oz-agent@warp.dev>
* Add /api to markdown-url-support allowlist in known-exceptions
/api is a custom Astro page, not a Starlight doc page, so it
won't have a .md variant. This is expected and intentional.
Co-Authored-By: Oz <oz-agent@warp.dev>
* Extend starlight-llms-txt patch to exclude pages from custom sets
The upstream plugin only applied the `exclude` option to llms-small.txt.
Our existing patch already extended it to llms-full.txt; this adds the
same exclude pass to llms-custom.txt.ts so custom sets (e.g. the Support
set) also skip pages that cause a stack overflow in hast-util-to-text.
Fixes the build failure caused by `support-and-community/**` including
the ~25k-line open-source-licenses page in the Support custom set.
Co-Authored-By: Oz <oz-agent@warp.dev>
---------
Co-authored-by: Oz <oz-agent@warp.dev>1 parent 13b60b6 commit 5f7f277
3 files changed
Lines changed: 30 additions & 10 deletions
File tree
- .agents/skills/afdocs-audit/references
- patches
Lines changed: 6 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
46 | 46 | | |
47 | 47 | | |
48 | 48 | | |
| 49 | + | |
| 50 | + | |
| 51 | + | |
| 52 | + | |
| 53 | + | |
| 54 | + | |
49 | 55 | | |
50 | 56 | | |
51 | 57 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
139 | 139 | | |
140 | 140 | | |
141 | 141 | | |
142 | | - | |
143 | | - | |
144 | | - | |
145 | | - | |
| 142 | + | |
| 143 | + | |
| 144 | + | |
| 145 | + | |
| 146 | + | |
146 | 147 | | |
147 | 148 | | |
148 | 149 | | |
149 | 150 | | |
150 | 151 | | |
151 | 152 | | |
152 | 153 | | |
153 | | - | |
| 154 | + | |
154 | 155 | | |
155 | 156 | | |
156 | | - | |
157 | | - | |
158 | | - | |
159 | | - | |
160 | | - | |
| 157 | + | |
| 158 | + | |
| 159 | + | |
| 160 | + | |
| 161 | + | |
| 162 | + | |
161 | 163 | | |
162 | 164 | | |
163 | 165 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
1 | 13 | | |
2 | 14 | | |
3 | 15 | | |
| |||
0 commit comments