0
0
mirror of https://github.com/nodejs/node.git synced 2024-11-24 20:29:23 +01:00
nodejs/doc
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
..
api doc: anchor link parity between markdown and html-generated docs 2021-08-30 00:40:20 +02:00
api_assets doc: fix color contrast issue in light mode 2021-08-06 17:30:15 +00:00
changelogs 2021-08-25, Version 16.8.0 (Current) 2021-08-25 22:51:53 +02:00
guides doc: document JavaScript tool for benchmark comparison 2021-08-28 08:57:49 -07:00
.eslintrc.yaml
abi_version_registry.json src: update NODE_MODULE_VERSION to 95 2021-07-20 15:24:57 +02:00
first_timer_badge.png
full-white-stripe.jpg
node.1 repl: enable --experimental-repl-await /w opt-out 2021-07-16 15:14:26 -07:00
osx_installer_logo.png
template.html
thin-white-stripe.jpg