Skip to content

Conversation

@avivkeller
Copy link
Member

I've tested it, and the anchors aren't needed, as the headers themselves generate anchors:
image

@nodejs-github-bot nodejs-github-bot added the tools Issues and PRs related to the tools directory. label Oct 5, 2024
@avivkeller avivkeller added doc Issues and PRs related to the documentations. errors Issues and PRs related to JavaScript errors originated in Node.js core. labels Oct 5, 2024
Copy link
Contributor

@aduh95 aduh95 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

That would break all existing links

@avivkeller
Copy link
Member Author

I built the docs and checked - it doesn't, as the anchors are already generated from the headers

@aduh95
Copy link
Contributor

aduh95 commented Oct 6, 2024

What about links on e.g. StackOverflow?

@avivkeller
Copy link
Member Author

I'll look into that 👀

@avivkeller
Copy link
Member Author

When search for pages linking to the error docs, I couldn't find any that included a href to a anchor that does not exist (although I only skimmed the first 3-4 pages of results)

Copy link
Contributor

@aduh95 aduh95 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

RedYetiDev requested a review from aduh95

As said before, I'm -1 on that as it breaks all existing links (not in our control), and does not improve anything AFAICT.

@avivkeller
Copy link
Member Author

I understand, I'll close this. Sorry for the noise.

@avivkeller avivkeller closed this Oct 13, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

doc Issues and PRs related to the documentations. errors Issues and PRs related to JavaScript errors originated in Node.js core. tools Issues and PRs related to the tools directory.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants