Commit bfc029b
committed
feat: improve AI documentation discoverability
- Add <link rel="llms-txt" href="/llms.txt"> to the <head> of every page
so any LLM fetching any page can discover the machine-readable docs
- Add /.well-known/llms.txt -> /llms.txt permanent redirect in vercel.json
(the emerging standard path for llms.txt discovery)
- Add /en and /en/:path* -> / and /:path* permanent redirects at CDN level
so old /en/build-style URLs no longer 404 (saves LLM agents a round-trip)
- Add MCP server mention to llms.txt via starlightLlmsTxt details option
("For AI coding tools, install @aptos-labs/aptos-mcp")1 parent 7d823af commit bfc029b
File tree
3 files changed
+24
-1
lines changed- src/starlight-overrides
3 files changed
+24
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
155 | 155 | | |
156 | 156 | | |
157 | 157 | | |
| 158 | + | |
| 159 | + | |
| 160 | + | |
| 161 | + | |
| 162 | + | |
158 | 163 | | |
159 | 164 | | |
160 | 165 | | |
161 | | - | |
| 166 | + | |
162 | 167 | | |
163 | 168 | | |
164 | 169 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
149 | 149 | | |
150 | 150 | | |
151 | 151 | | |
| 152 | + | |
| 153 | + | |
| 154 | + | |
152 | 155 | | |
153 | 156 | | |
154 | 157 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
24 | 24 | | |
25 | 25 | | |
26 | 26 | | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
27 | 42 | | |
28 | 43 | | |
29 | 44 | | |
| |||
0 commit comments