Files
node/tools
foxxyz 6fdd5827f0 doc: anchor link parity between markdown and html-generated docs
Main changes:

- Replace current HTML anchor generation to match
  header anchor generation in Github markdown.
- Remove unnecessary double namespacing on generated anchors/links (E.G.
  `esm.md#loaders` instead of `esm.md#esm_loaders`).
- Anchors/links are automatically prefixed with their respective modules
  when concatenated for usage in `all.html`.

Benefits:

- All anchor links within and between markdown API docs actually work.
- Adding new anchor links no longer requires contributors to generate
  the HTML docs first to look up the correct anchors.
- Anchors are much shorter.
- All previous anchor links are preserved by generating hidden legacy
  anchors.

PR-URL: https://github.com/nodejs/node/pull/39304
Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com>
2021-08-30 00:40:20 +02:00
..
2021-08-23 07:48:13 +00:00
2021-07-20 15:27:41 +02:00
2021-08-25 07:55:32 -07:00
2020-12-16 23:45:26 +01:00
2021-06-10 14:17:49 +08:00
2020-12-16 23:45:26 +01:00
2021-08-25 07:55:32 -07:00
2021-08-25 07:55:32 -07:00
2021-08-22 04:13:32 +00:00
2021-02-13 18:08:48 +01:00
2021-08-25 07:55:32 -07:00
2021-07-04 19:56:09 -07:00
2021-07-04 19:56:09 -07:00