Conversation
The table of contents still linked to "Learn Page Frontmatter", "Frontmatter Fields" and "Accessible Components" sections that no longer exist in the document, producing three dead anchor links. Remove the stale entries so every TOC link resolves again. Signed-off-by: ump45nose <1729065730@qq.com>
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
AugustinMauroy
approved these changes
Oct 5, 2026
This branch was successfully deployed
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.
Description
docs/adding-pages.mdshipped a table of contents that links threesections which no longer exist in the document, so the anchors are dead:
#learn-page-frontmatter(Learn Page Frontmatter)#frontmatter-fields(Frontmatter Fields, nested under the entry above)#accessible-components(Accessible Components)Verified by extracting every
##/###heading of the file, GitHub-styleslugifying it, and checking each same-file
](#...)TOC link againstthose slugs — exactly these three did not resolve. The "Learn Page
Frontmatter" content is not covered anywhere else (the section only
documents structure, navigation and translation keys), and the
"Accessible Components" content lives under "Content Guidelines"
without a heading of its own.
The fix removes the three stale TOC entries; no other text changes.
After the edit the same anchor check reports zero broken links.
Validation
.prettierrc.json, prettier 3.9.6 +prettier-plugin-tailwindcss):
All matched files use Prettier code style!remaining broken anchors: []pnpm test) could not be executed in this environment:the repo pins
engines.node >= 24.11.0while the sandbox ships Nodev22.23.2, so
pnpm install/turbo cannot run. The change only deletesthree list lines from a Markdown file and touches no code path, so it
does not affect any unit test surface.
Related Issues
No existing issue for this dead-anchor cleanup; this is a short errata.
Check List
pnpm formatequivalent on the changed file (prettier with repo config passes; see Validation for the toolchain caveat).pnpm test(not possible in this environment — Node 22 vs engines>=24.11.0; docs-only change).pnpm build(same toolchain caveat as above).