Repository navigation
Commit 9c29df6
authored
fix(docs): make llms.txt crawlable and give it a real header (#179)
Fixes #170
robots.ts no longer disallows /llms.txt and /llms-full.txt. /api/ still is —
it serves the search index, not readable content. A blanket User-agent: *
disallow on the one file written for LLM retrieval contradicts the org's own
written policy that machine-facing surfaces are first-class.
llms.txt now opens with "# ObjectOS" and a one-sentence blockquote summary,
taken verbatim from the marketing site's own llms.txt — the current
authoritative positioning string — and kept in a single SUMMARY constant.
It is deliberately not re-derived from content/docs/index.mdx, which frames
the product differently; issue #171 exists because those two disagree.
The link list is grouped under the section headings used in site navigation
and pinned to the default locale. source.getPages() lists every language when
called without one, so the previous flat list was all 335 .mdx files across
7 locales with translated titles interleaved, not 79. Rendering goes through
fumadocs-core's own llms() helper.
Served-body verification: /robots.txt has 0 llms mentions and keeps
Disallow: /api/; /llms.txt returns 116 lines, 79 link lines, 9 headings and
0 non-default-locale links.1 parent 93a366c commit 9c29df6
2 files changed
Lines changed: 94 additions & 7 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
1 | 4 | | |
2 | 5 | | |
3 | 6 | | |
4 | 7 | | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
5 | 46 | | |
6 | | - | |
7 | | - | |
8 | | - | |
9 | | - | |
10 | | - | |
| 47 | + | |
| 48 | + | |
| 49 | + | |
| 50 | + | |
| 51 | + | |
| 52 | + | |
| 53 | + | |
| 54 | + | |
| 55 | + | |
| 56 | + | |
| 57 | + | |
| 58 | + | |
| 59 | + | |
| 60 | + | |
| 61 | + | |
| 62 | + | |
| 63 | + | |
| 64 | + | |
| 65 | + | |
| 66 | + | |
| 67 | + | |
| 68 | + | |
| 69 | + | |
| 70 | + | |
| 71 | + | |
| 72 | + | |
| 73 | + | |
| 74 | + | |
| 75 | + | |
| 76 | + | |
| 77 | + | |
| 78 | + | |
| 79 | + | |
| 80 | + | |
| 81 | + | |
| 82 | + | |
| 83 | + | |
| 84 | + | |
| 85 | + | |
| 86 | + | |
| 87 | + | |
| 88 | + | |
| 89 | + | |
| 90 | + | |
11 | 91 | | |
| 92 | + | |
| 93 | + | |
| 94 | + | |
12 | 95 | | |
13 | 96 | | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
9 | 9 | | |
10 | 10 | | |
11 | 11 | | |
12 | | - | |
13 | | - | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
14 | 18 | | |
15 | 19 | | |
16 | 20 | | |
| |||
0 commit comments