diff --git a/doc/api/repl.md b/doc/api/repl.md index 43e8d4f578c391..f8ab8fa7e7d104 100644 --- a/doc/api/repl.md +++ b/doc/api/repl.md @@ -741,7 +741,7 @@ For an example of running a "full-featured" (`terminal`) REPL over a `net.Server` and `net.Socket` instance, see: . -For an example of running a REPL instance over [curl(1)][], see: +For an example of running a REPL instance over [`curl(1)`][], see: . [ZSH]: https://en.wikipedia.org/wiki/Z_shell @@ -757,5 +757,5 @@ For an example of running a REPL instance over [curl(1)][], see: [`util.inspect()`]: util.html#util_util_inspect_object_options [`reverse-i-search`]: #repl_reverse_i_search [TTY keybindings]: readline.html#readline_tty_keybindings -[curl(1)]: https://curl.haxx.se/docs/manpage.html +[`curl(1)`]: https://curl.haxx.se/docs/manpage.html [stream]: stream.html diff --git a/tools/doc/html.js b/tools/doc/html.js index ae8c1b10ddad7a..cbed8ba6b2d8ef 100644 --- a/tools/doc/html.js +++ b/tools/doc/html.js @@ -126,7 +126,6 @@ function preprocessText({ nodeVersion }) { // Syscalls which appear in the docs, but which only exist in BSD / macOS. const BSD_ONLY_SYSCALLS = new Set(['lchmod']); -const HAXX_ONLY_SYSCALLS = new Set(['curl']); const MAN_PAGE = /(^|\s)([a-z.]+)\((\d)([a-z]?)\)/gm; // Handle references to man pages, eg "open(2)" or "lchmod(2)". @@ -143,9 +142,6 @@ function linkManPages(text) { return `${beginning}${displayAs}`; } - if (HAXX_ONLY_SYSCALLS.has(name)) { - return `${beginning}${displayAs}`; - } return `${beginning}${displayAs}`;