Repository navigation
docs(kernel): drop dead /docs/references/contracts link - #7338
Merged
Merged
Conversation
content/docs/references/contracts/ has no index.mdx (contracts publishes no JSON-Schema pages into the generated reference tree), so the route never resolved. The Cards section a few lines above already links the real content correctly at /docs/kernel/contracts. Fixes #7330 Co-Authored-By: Claude Fable 5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01YS2qzDAn3CpWdY7uBX9bFQ
|
The latest updates on your projects. Learn more about Vercel for GitHub. 1 Skipped Deployment
|
os-help
marked this pull request as ready for review
August 10, 2026 07:34
os-help
enabled auto-merge
August 10, 2026 07:34
This was referenced Aug 10, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Fixes #7330
Problem
content/docs/kernel/index.mdxlinked[Contracts](/docs/references/contracts)in its "Schema reference" list.content/docs/references/contracts/contains onlymeta.json— noindex.mdx— because contracts publishes no JSON-Schema pages into the generated reference tree (all its schemas are unrepresentable in JSON Schema; see #7303). Fumadocs resolves a folder route fromindex.mdx, so/docs/references/contractsnever resolved, andcontent/docs/references/meta.json'spagesarray also omitscontracts, so it never appeared in the sidebar either.Verified on
origin/mainbefore editing:No
index.mdx, confirming the premise.Fix
Dropped
[Contracts](/docs/references/contracts)from the "Schema reference" list — that list is specifically about the generated schema tree, andcontracts/publishes no schema pages into it, so dropping it loses no reachability. The real content is already linked correctly a few lines up, in the<Cards>block:<Card href="/docs/kernel/contracts" .../>.One-line diff, hand-written docs file only.
content/docs/references/**(generated bygen:docs) was not touched.Scope
Docs-only change — no changeset; requesting the
skip-changesetlabel at acceptance.Verification
node scripts/check-nul-bytes.mjs— OKpnpm check:doc-authoring— green (374 files clean)pnpm check:docs-audit-scope— green (179 hand-written docs in sync, release-owned pages review-only)npx eslint content/docs/kernel/index.mdx— not applicable (mdx content is outside eslint's configured scope; expected)Generated by Claude Code