Skip to content

Commit

Permalink
fix: add additional anchors to preserve old links
Browse files Browse the repository at this point in the history
  • Loading branch information
alexandre-abrioux committed Aug 22, 2024
1 parent a55f3e6 commit 9967fb8
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 1 deletion.
6 changes: 6 additions & 0 deletions doc/api/cli.md
Original file line number Diff line number Diff line change
Expand Up @@ -3396,6 +3396,9 @@ documented here:

### `--perf-prof-unwinding-info`

<!-- Anchor to make sure old links find a target -->
<a id="--max-old-space-sizesize-in-megabytes"></a>

### `--max-old-space-size=SIZE` (in MiB)

Sets the max memory size of V8's old memory section. As memory
Expand All @@ -3409,6 +3412,9 @@ On a machine with 2 GiB of memory, consider setting this to
node --max-old-space-size=1536 index.js
```

<!-- Anchor to make sure old links find a target -->
<a id="--max-semi-space-sizesize-in-megabytes"></a>

### `--max-semi-space-size=SIZE` (in MiB)

Sets the maximum [semi-space][] size for V8's [scavenge garbage collector][] in
Expand Down
5 changes: 4 additions & 1 deletion tools/doc/links-mapper.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,9 @@
{
"doc/api/cli.md": {
"command line options": "cli.html#options",
},
"doc/api/synopsis.md": {
"command line options": "cli.html#options",
"web server": "http.html"
"web server": "http.html",
}
}

0 comments on commit 9967fb8

Please sign in to comment.