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
No, @avivkeller this was fixed on 2765300, @Renegade334 / @regseb existing/previous runs on doc-kit unfortunately will have that bug, new versions of Node.js should not have that bug, to my understanding, but @avivkeller can you triple check by checking the output artifacts of latest run of legacy-web generator?
Activity
Renegade334 commentedon Apr 7, 2026
@nodejs/web-infra
avivkeller commentedon Apr 7, 2026
Looks like we explicitly remove these https://github.com/nodejs/doc-kit/blob/main/src/generators/metadata/constants.mjs#L10-L11
fix(metadata): preserve -- prefix in anchor IDs for CLI flags
ovflowd commentedon Apr 10, 2026
No, @avivkeller this was fixed on 2765300, @Renegade334 / @regseb existing/previous runs on doc-kit unfortunately will have that bug, new versions of Node.js should not have that bug, to my understanding, but @avivkeller can you triple check by checking the output artifacts of latest run of legacy-web generator?
Renegade334 commentedon Apr 10, 2026
That only affected leading underscores, the strip-leading-hyphens regexp is still there?
fix(metadata): rework slug rules to preserve CLI flag anchor prefixes
mizoz commentedon Apr 28, 2026
Hi! I'd love to contribute. Could you assign this issue to me? Happy to get started right away.
fix(metadata): keep hyphens in heading slugs like the old doc tooling (…