-
Notifications
You must be signed in to change notification settings - Fork 41
Open
Description
Affected URLS
- https://nodejs.org/docs/latest/api/modules.html#__filename
- https://nodejs.org/docs/latest/api/modules.html#__dirname
Problem
Those links refer to an HTML element with the ID __dirname or __filename instead of using the IDs without the underscores, because when the documentation content is generated, it appears to remove the underscores and generates IDs without underscores. You can find those links on this page: https://nodejs.org/docs/latest/api/globals.html#global-objects
The modules.md file also references __dirname and __filename several times, so this page also contains broken anchor links: https://nodejs.org/docs/latest/api/modules.html
Possible Cause
I think the problem is related to this:
| { from: /^-+(?!-*$)/g, to: '' }, // Remove any leading hyphens |
I was thinking about changing the link in the files listed below, but I think that would break the link (at least in GitHub's Markdown editor), so that wouldn't be a good solution.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels