Skip to content

Commit 9ebd559

Browse files
stevemaorvagg
authored andcommitted
doc: fix markdown links
Fixes: #5322 PR-URL: #5641 Reviewed-By: Robert Lindstädt <[email protected]> Reviewed-By: Evan Lucas <[email protected]> Reviewed-By: Roman Reiss <[email protected]>
1 parent 62d267e commit 9ebd559

File tree

3 files changed

+7
-4
lines changed

3 files changed

+7
-4
lines changed

doc/api/crypto.markdown

+1-1
Original file line numberDiff line numberDiff line change
@@ -826,7 +826,7 @@ recent OpenSSL releases, `openssl list-cipher-algorithms` will display the
826826
available cipher algorithms.
827827

828828
The `password` is used to derive the cipher key and initialization vector (IV).
829-
The value must be either a `'binary'` encoded string or a [`Buffer`[].
829+
The value must be either a `'binary'` encoded string or a [`Buffer`][].
830830

831831
The implementation of `crypto.createCipher()` derives keys using the OpenSSL
832832
function [`EVP_BytesToKey`][] with the digest algorithm set to MD5, one

doc/api/errors.markdown

+4-1
Original file line numberDiff line numberDiff line change
@@ -520,6 +520,8 @@ found [here][online].
520520
encountered by [`http`][] or [`net`][] -- often a sign that a `socket.end()`
521521
was not properly called.
522522

523+
[`domain`]: domain.html
524+
[`EvalError`]: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/EvalError
523525
[`Error`]: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Error
524526
[`fs.readdir`]: fs.html#fs_fs_readdir_path_callback
525527
[`fs.readFileSync`]: fs.html#fs_fs_readfilesync_file_options
@@ -540,6 +542,7 @@ found [here][online].
540542
[V8's stack trace API]: https://github.com/v8/v8/wiki/Stack-Trace-API
541543
[vm]: vm.html
542544
[`SyntaxError`]: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/SyntaxError
545+
[`RangeError`]: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/RangeError
543546
[`ReferenceError`]: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/ReferenceError
544547
[`TypeError`]: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/TypeError
545-
[`domain`]: domain.html
548+
[`URIError`]: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/URIError

doc/api/http.markdown

+2-2
Original file line numberDiff line numberDiff line change
@@ -1203,7 +1203,7 @@ There are a few special headers that should be noted.
12031203
[`'listening'`]: net.html#net_event_listening
12041204
[`'response'`]: #http_event_response
12051205
[`Agent`]: #http_class_http_agent
1206-
[`agent.createConnection`]: #http_agent_createconnection
1206+
[`agent.createConnection()`]: #http_agent_createconnection
12071207
[`Buffer`]: buffer.html#buffer_buffer
12081208
[`destroy()`]: #http_agent_destroy
12091209
[`EventEmitter`]: events.html#events_class_events_eventemitter
@@ -1215,7 +1215,7 @@ There are a few special headers that should be noted.
12151215
[`http.Server`]: #http_class_http_server
12161216
[`http.ServerResponse`]: #http_class_http_serverresponse
12171217
[`message.headers`]: #http_message_headers
1218-
[`net.createConnection`]: net.html#net_net_createconnection_options_connectlistener
1218+
[`net.createConnection()`]: net.html#net_net_createconnection_options_connectlistener
12191219
[`net.Server`]: net.html#net_class_net_server
12201220
[`net.Server.close()`]: net.html#net_server_close_callback
12211221
[`net.Server.listen()`]: net.html#net_server_listen_handle_callback

0 commit comments

Comments
 (0)