diff options
author | Rich Trott <rtrott@gmail.com> | 2020-09-13 18:59:55 +0300 |
---|---|---|
committer | Rich Trott <rtrott@gmail.com> | 2020-09-15 20:50:09 +0300 |
commit | 26e660f9627f776678106d0afa7da428c44c45cf (patch) | |
tree | efe54ca1a55a163cabd7a51712da35c6ebe93171 /doc/api/repl.md | |
parent | 2b3eb101b57ff99cb1e3917dfe6f3064a37ea220 (diff) |
doc: remove problematic auto-linking of curl man pages
The only instance of curl man page linking is in repl.md and it is
explicit. The magic autolinking in html.js creates a superfluous empty
link. Remove it.
Before, two adjacent links generated, with the first one having no text:
```html
<a href="https://curl.haxx.se/docs/manpage.html"></a>
<a href="https://curl.haxx.se/docs/manpage.html"><code>curl(1)</code></a>
```
After, just one link:
```html
<a href="https://curl.haxx.se/docs/manpage.html"><code>curl(1)</code></a>
```
PR-URL: https://github.com/nodejs/node/pull/35174
Reviewed-By: Anna Henningsen <anna@addaleax.net>
Reviewed-By: Ben Coe <bencoe@gmail.com>
Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
Diffstat (limited to 'doc/api/repl.md')
-rw-r--r-- | doc/api/repl.md | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/doc/api/repl.md b/doc/api/repl.md index 953d66e79fe..3d343ad18a0 100644 --- a/doc/api/repl.md +++ b/doc/api/repl.md @@ -745,7 +745,7 @@ For an example of running a "full-featured" (`terminal`) REPL over a `net.Server` and `net.Socket` instance, see: <https://gist.github.com/TooTallNate/2209310>. -For an example of running a REPL instance over [curl(1)][], see: +For an example of running a REPL instance over [`curl(1)`][], see: <https://gist.github.com/TooTallNate/2053342>. [ZSH]: https://en.wikipedia.org/wiki/Z_shell @@ -761,5 +761,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 |