Commit 7da4cc2
docs(apps/docs): fix stale docblock in page.tsx breadcrumb walk (#14537)
The census paragraph on origin/main still claimed "8 short trails
remain" and that content/docs/releases/meta.json "still lists
index" — both went false when PR #13946 removed "index" from that
meta.json (0 hits repo-wide now under content/docs/**/meta.json).
Rewrite it to the mechanism only (how a URL-less ancestor arises,
that #12352/#13946 fixed every known instance, and that the
condition is structural and can recur) rather than a count that
rotted within a day.
Also fixes an independent misattribution in the same paragraph:
getBreadcrumbItems() does not drop the URL-less ancestor itself —
it emits it with url: undefined. The drop is local, in docsTrail()'s
own loop guard (`if (... || !item.url) continue;`).
No behavior change: docsTrail(), the breadcrumb loop, and the
"missing URL is deliberately not reconstructed" rule paragraph are
untouched.
Co-authored-by: Claude <noreply@anthropic.com>1 parent 4a37870 commit 7da4cc2
1 file changed
Lines changed: 11 additions & 8 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
55 | 55 | | |
56 | 56 | | |
57 | 57 | | |
58 | | - | |
59 | | - | |
60 | | - | |
61 | | - | |
62 | | - | |
63 | | - | |
64 | | - | |
65 | | - | |
| 58 | + | |
| 59 | + | |
| 60 | + | |
| 61 | + | |
| 62 | + | |
| 63 | + | |
| 64 | + | |
| 65 | + | |
| 66 | + | |
| 67 | + | |
| 68 | + | |
66 | 69 | | |
67 | 70 | | |
68 | 71 | | |
| |||
0 commit comments