Skip to content

Restore the anchor alias to preserve old links #697

@bjohansebas

Description

@bjohansebas

We need to restore the anchor alias, since documentation such as Express still depends on those anchors, and the Express team still needs time to update them. I’m also sure that many other sites may still be relying on those anchors.

For reference, here is what the old generator was doing: https://github.com/nodejs/node/blob/v23.x/tools/doc/html.mjs#L472-L473. This is mainly needed for the legacy generator, but also for the new one.

ref: https://openjs-foundation.slack.com/archives/C09EXEEHFKP/p1773605198090049

Metadata

Metadata

Assignees

No one assigned

    Labels

    Legacy Generator`legacy-html`, `legacy-json`, and their `-all` variantsWeb Generator`web`, `jsx-ast`, and `orama-db`good first issueGood for newcomers

    Type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions