Skip to content

docs: fix broken heading anchors - #2237

Merged
fdncred merged 1 commit into
nushell:mainfrom
wahidrizka:fix-broken-anchors
Sep 4, 2026
Merged

docs: fix broken heading anchors#2237
fdncred merged 1 commit into
nushell:mainfrom
wahidrizka:fix-broken-anchors

Conversation

@wahidrizka

Copy link
Copy Markdown
Contributor

Five internal links point at heading anchors that do not exist, so they land at the top of the page instead of the intended section. Each target below was confirmed against the deployed site.

File Link anchor Target heading Correct anchor
book/navigating_structured_data.md #keycolumn-names-with-spaces ## Key/Column names with spaces #key-column-names-with-spaces
lang-guide/.../basic_types/float.md #floatsdecimals ### Floats/Decimals #floats-decimals
lang-guide/.../basic_types/string.md #textstrings ### Text/Strings #text-strings
book/control_flow.md #variables-are-immutable ## Variables are Immutable by Default #variables-are-immutable-by-default
book/coming_from_bash.md #editing-mode ## Setting the Editing Mode #setting-the-editing-mode

The first three are slug mismatches: a heading with a / produces a - in the generated slug (for example Key/Column becomes key-column), but the link dropped that dash. The last two point at headings that were later renamed. Each target page has exactly one matching section, so the intended destination is unambiguous.

Five internal links pointed at anchors that do not exist. Three dropped
the dash a slash produces in the slug (key-column-names-with-spaces,
floats-decimals, text-strings) and two targeted headings that were since
renamed (variables-are-immutable-by-default, setting-the-editing-mode).
@fdncred
fdncred merged commit 1de672f into nushell:main Sep 4, 2026
2 checks passed
@fdncred

fdncred commented Sep 4, 2026

Copy link
Copy Markdown
Contributor

Thanks

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants