Skip to content

[v25] Anchors without -- prefix #757

Closed

Description

@regseb

Affected URL(s)

https://nodejs.org/docs/latest-v25.x/api/cli.html#permission

Description of the problem

  • In v24, HTML anchors have the prefix --. For example, for the heading --permission, the anchor is also --permission.
  • In v25, the prefix is removed. For the heading --permission, the anchor is permission.

The links haven't been changed, so they still go to the correct page, but they don't scroll to the right spot.


Either the problem comes from how the anchors are generated, or all the links need to be corrected.

Activity

  1. Renegade334 commented on Apr 7, 2026

    @Renegade334
    Member

    @nodejs/web-infra

  2. transferred this issue fromnodejs/nodeon Apr 7, 2026
  3. added
    Legacy Generator
    good first issue
    on Apr 7, 2026
  4. added theissue type on Apr 7, 2026
  5. avivkeller commented on Apr 7, 2026

    @avivkeller
    Member
  6. added a commit that references this issue on Apr 9, 2026
    079de38
  7. ovflowd commented on Apr 10, 2026

    @ovflowd
    Member

    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?

  8. Renegade334 commented on Apr 10, 2026

    @Renegade334
    Member

    this was fixed on 2765300

    That only affected leading underscores, the strip-leading-hyphens regexp is still there?

  9. added a commit that references this issue on Apr 13, 2026
    6d416aa
  10. mizoz commented on Apr 28, 2026

    @mizoz

    Hi! I'd love to contribute. Could you assign this issue to me? Happy to get started right away.

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    Legacy Generatorgood first issue

    Type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions