mirror of
https://github.com/nodejs/node.git
synced 2026-11-09 15:11:11 -05:00
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>
6 lines
125 B
JSON
6 lines
125 B
JSON
{
|
|
"doc/api/synopsis.md": {
|
|
"command line options": "cli.html#command-line-options",
|
|
"web server": "http.html"
|
|
}
|
|
} |