You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Preserve underscores in inline-code heading slugs (false broken anchors in v0.0.9) #40
The link resolves. The underscore is literal content inside a code span and must remain in the heading's slug.
Real corpus and independent verification
After adopting v0.0.9 and contentRoots: [user-docs] in stacklok/mecatl#1934, the original Docusaurus reproduction from #37 passes, all 372 content-root link errors disappear, and all 377 MDX heading-anchor errors disappear. Thank you for that support.
Five newly resolvable cross-document links still fail against four headings in the generated configuration reference:
I ran task site:build successfully and parsed the actual built website/build/docs/reference/configuration/index.html using Python's HTMLParser. It contains these exact elements:
The five links use those same literal IDs. Changing the links to match matlatl would break the rendered site, so the consumer PR remains draft rather than weakening checks or altering published anchors.
Regression coverage requested
Underscores in inline-code heading text survive text extraction and slug generation.
Local and cross-document links to these anchors resolve.
Genuine missing anchors still fail.
Preserve ordinary Markdown emphasis handling and duplicate-heading suffix behavior.
This appears independent of the new content-root feature: the one-file reproduction has no Docusaurus config or MDX.
Activity
docs: adopt matlatl Docusaurus support and repair navigation