Skip to content

Commit 0ea3899

Browse files
stevemaosilverwind
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 a498492 commit 0ea3899

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
@@ -831,7 +831,7 @@ recent OpenSSL releases, `openssl list-cipher-algorithms` will display the
831831
available cipher algorithms.
832832

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

836836
The implementation of `crypto.createCipher()` derives keys using the OpenSSL
837837
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
@@ -1225,7 +1225,7 @@ There are a few special headers that should be noted.
12251225
[`'listening'`]: net.html#net_event_listening
12261226
[`'response'`]: #http_event_response
12271227
[`Agent`]: #http_class_http_agent
1228-
[`agent.createConnection`]: #http_agent_createconnection
1228+
[`agent.createConnection()`]: #http_agent_createconnection
12291229
[`Buffer`]: buffer.html#buffer_buffer
12301230
[`destroy()`]: #http_agent_destroy
12311231
[`EventEmitter`]: events.html#events_class_events_eventemitter
@@ -1237,7 +1237,7 @@ There are a few special headers that should be noted.
12371237
[`http.Server`]: #http_class_http_server
12381238
[`http.ServerResponse`]: #http_class_http_serverresponse
12391239
[`message.headers`]: #http_message_headers
1240-
[`net.createConnection`]: net.html#net_net_createconnection_options_connectlistener
1240+
[`net.createConnection()`]: net.html#net_net_createconnection_options_connectlistener
12411241
[`net.Server`]: net.html#net_class_net_server
12421242
[`net.Server.close()`]: net.html#net_server_close_callback
12431243
[`net.Server.listen()`]: net.html#net_server_listen_handle_callback

0 commit comments

Comments
 (0)