Skip to content

Commit 855aea7

Browse files
vsemozhetbytaddaleax
authored andcommitted
doc: fix some internal links
PR-URL: nodejs#15293 Reviewed-By: Claudio Rodriguez <cjrodr@yahoo.com> Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de> Reviewed-By: Luigi Pinca <luigipinca@gmail.com> Reviewed-By: Franziska Hinkelmann <franziska.hinkelmann@gmail.com> Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: Tobias Nießen <tniessen@tnie.de>
1 parent 53e31c7 commit 855aea7

File tree

8 files changed

+24
-25
lines changed

8 files changed

+24
-25
lines changed

doc/api/cluster.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -826,14 +826,14 @@ socket.on('data', (id) => {
826826
});
827827
```
828828

829-
[`ChildProcess.send()`]: child_process.html#child_process_child_send_message_sendhandle_options_callback
829+
[`ChildProcess.send()`]: child_process.html#child_process_subprocess_send_message_sendhandle_options_callback
830830
[`child_process.fork()`]: child_process.html#child_process_child_process_fork_modulepath_args_options
831-
[`disconnect`]: child_process.html#child_process_child_disconnect
831+
[`disconnect`]: child_process.html#child_process_subprocess_disconnect
832832
[`kill`]: process.html#process_process_kill_pid_signal
833833
[`process` event: `'message'`]: process.html#process_event_message
834834
[`server.close()`]: net.html#net_event_close
835835
[`worker.exitedAfterDisconnect`]: #cluster_worker_exitedafterdisconnect
836836
[Child Process module]: child_process.html#child_process_child_process_fork_modulepath_args_options
837837
[child_process event: 'exit']: child_process.html#child_process_event_exit
838838
[child_process event: 'message']: child_process.html#child_process_event_message
839-
[`cluster.settings`]: #clustersettings
839+
[`cluster.settings`]: #cluster_cluster_settings

doc/api/crypto.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2266,8 +2266,8 @@ the `crypto`, `tls`, and `https` modules and are generally specific to OpenSSL.
22662266
[`stream.transform` options]: stream.html#stream_new_stream_transform_options
22672267
[`stream.Writable` options]: stream.html#stream_constructor_new_stream_writable_options
22682268
[`tls.createSecureContext()`]: tls.html#tls_tls_createsecurecontext_options
2269-
[`verify.update()`]: #crypto_verifier_update_data_inputencoding
2270-
[`verify.verify()`]: #crypto_verifier_verify_object_signature_signatureformat
2269+
[`verify.update()`]: #crypto_verify_update_data_inputencoding
2270+
[`verify.verify()`]: #crypto_verify_verify_object_signature_signatureformat
22712271
[Caveats]: #crypto_support_for_weak_or_compromised_algorithms
22722272
[Crypto Constants]: #crypto_crypto_constants_1
22732273
[HTML5's `keygen` element]: http://www.w3.org/TR/html5/forms.html#the-keygen-element

doc/api/debugger.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
<!-- type=misc -->
88

99
Node.js includes an out-of-process debugging utility accessible via a
10-
[TCP-based protocol][] and built-in debugging client. To use it, start Node.js
10+
[V8 Inspector][] and built-in debugging client. To use it, start Node.js
1111
with the `inspect` argument followed by the path to the script to debug; a prompt
1212
will be displayed indicating successful launch of the debugger:
1313

@@ -194,4 +194,4 @@ at the end of the URL is generated on the fly, it varies in different
194194
debugging sessions.)
195195

196196
[Chrome Debugging Protocol]: https://chromedevtools.github.io/debugger-protocol-viewer/
197-
[TCP-based protocol]: #debugger_tcp_based_protocol
197+
[V8 Inspector]: #debugger_v8_inspector_integration_for_node_js

doc/api/deprecations.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -714,7 +714,7 @@ difference is that `querystring.parse()` does url encoding:
714714
[`os.networkInterfaces`]: os.html#os_os_networkinterfaces
715715
[`os.tmpdir()`]: os.html#os_os_tmpdir
716716
[`punycode`]: punycode.html
717-
[`require.extensions`]: globals.html#globals_require_extensions
717+
[`require.extensions`]: modules.html#modules_require_extensions
718718
[`tls.CryptoStream`]: tls.html#tls_class_cryptostream
719719
[`tls.SecureContext`]: tls.html#tls_tls_createsecurecontext_options
720720
[`tls.SecurePair`]: tls.html#tls_class_securepair

doc/api/errors.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1298,4 +1298,4 @@ Used when a given value is out of the accepted range.
12981298
[syscall]: http://man7.org/linux/man-pages/man2/syscall.2.html
12991299
[try-catch]: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Statements/try...catch
13001300
[vm]: vm.html
1301-
[WHATWG Supported Encodings]: util.md#whatwg-supported-encodings
1301+
[WHATWG Supported Encodings]: util.html#util_whatwg_supported_encodings

doc/api/http2.md

Lines changed: 8 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1505,8 +1505,7 @@ added: v8.4.0
15051505
* `options` {Object}
15061506
* `allowHTTP1` {boolean} Incoming client connections that do not support
15071507
HTTP/2 will be downgraded to HTTP/1.x when set to `true`. The default value
1508-
is `false`. See the [`'unknownProtocol'`][] event. See [ALPN
1509-
negotiation](#alpn-negotiation).
1508+
is `false`. See the [`'unknownProtocol'`][] event. See [ALPN negotiation][].
15101509
* `maxDeflateDynamicTableSize` {number} Sets the maximum dynamic table size
15111510
for deflating header fields. Defaults to 4Kib.
15121511
* `maxSendHeaderBlockLength` {number} Sets the maximum allowed size for a
@@ -2019,9 +2018,9 @@ added: v8.4.0
20192018

20202019
* `error` {Error}
20212020

2022-
Calls `destroy()` on the [`Http2Stream`][] that received the [`ServerRequest`][]. If
2023-
`error` is provided, an `'error'` event is emitted and `error` is passed as an
2024-
argument to any listeners on the event.
2021+
Calls `destroy()` on the [`Http2Stream`][] that received
2022+
the [`Http2ServerRequest`][]. If `error` is provided, an `'error'` event
2023+
is emitted and `error` is passed as an argument to any listeners on the event.
20252024

20262025
It does nothing if the stream was already destroyed.
20272026

@@ -2655,7 +2654,7 @@ will result in a [`TypeError`][] being thrown.
26552654
added: v8.4.0
26562655
-->
26572656

2658-
Call [`stream.pushStream()`][] with the given headers, and wraps the
2657+
Call [`http2stream.pushStream()`][] with the given headers, and wraps the
26592658
given newly created [`Http2Stream`] on `Http2ServerRespose`.
26602659

26612660
The callback will be called with an error with code `ERR_HTTP2_STREAM_CLOSED`
@@ -2667,7 +2666,7 @@ if the stream is closed.
26672666
[HTTP/2]: https://tools.ietf.org/html/rfc7540
26682667
[HTTPS]: https.html
26692668
[Headers Object]: #http2_headers_object
2670-
[Http2Session and Sockets]: #http2_http2sesion_and_sockets
2669+
[Http2Session and Sockets]: #http2_http2session_and_sockets
26712670
[Readable Stream]: stream.html#stream_class_stream_readable
26722671
[Settings Object]: #http2_settings_object
26732672
[Using options.selectPadding]: #http2_using_options_selectpadding
@@ -2678,14 +2677,15 @@ if the stream is closed.
26782677
[`ClientHttp2Stream`]: #http2_class_clienthttp2stream
26792678
[`Duplex`]: stream.html#stream_class_stream_duplex
26802679
[`EventEmitter`]: events.html#events_class_eventemitter
2680+
[`Http2ServerRequest`]: #http2_class_http2_http2serverrequest
26812681
[`Http2Stream`]: #http2_class_http2stream
26822682
[`ServerHttp2Stream`]: #http2_class_serverhttp2stream
2683-
[`ServerRequest`]: #http2_class_server_request
26842683
[`TypeError`]: errors.html#errors_class_typeerror
26852684
[`http2.SecureServer`]: #http2_class_http2secureserver
26862685
[`http2.createSecureServer()`]: #http2_createsecureserver_options_onrequesthandler
26872686
[`http2.Server`]: #http2_class_http2server
26882687
[`http2.createServer()`]: #http2_createserver_options_onrequesthandler
2688+
[`http2stream.pushStream()`]: #http2_http2stream_pushstream_headers_options_callback
26892689
[`net.Socket`]: net.html#net_class_net_socket
26902690
[`request.socket.getPeerCertificate()`]: tls.html#tls_tlssocket_getpeercertificate_detailed
26912691
[`response.end()`]: #http2_response_end_data_encoding_callback
@@ -2695,7 +2695,6 @@ if the stream is closed.
26952695
[`response.write(data, encoding)`]: http.html#http_response_write_chunk_encoding_callback
26962696
[`response.writeContinue()`]: #http2_response_writecontinue
26972697
[`response.writeHead()`]: #http2_response_writehead_statuscode_statusmessage_headers
2698-
[`stream.pushStream()`]: #http2_stream-pushstream
26992698
[`tls.TLSSocket`]: tls.html#tls_class_tls_tlssocket
27002699
[`tls.createServer()`]: tls.html#tls_tls_createserver_options_secureconnectionlistener
27012700
[error code]: #error_codes

doc/api/process.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -399,7 +399,7 @@ It is important to take note of the following:
399399
called asynchronously and therefore unable to correct the underlying problem.
400400

401401
*Note*: Windows does not support sending signals, but Node.js offers some
402-
emulation with [`process.kill()`][], and [`ChildProcess.kill()`][]. Sending
402+
emulation with [`process.kill()`][], and [`subprocess.kill()`][]. Sending
403403
signal `0` can be used to test for the existence of a process. Sending `SIGINT`,
404404
`SIGTERM`, and `SIGKILL` cause the unconditional termination of the target
405405
process.
@@ -1871,9 +1871,9 @@ cases:
18711871
[`'message'`]: child_process.html#child_process_event_message
18721872
[`'rejectionHandled'`]: #process_event_rejectionhandled
18731873
[`'uncaughtException'`]: #process_event_uncaughtexception
1874-
[`ChildProcess.disconnect()`]: child_process.html#child_process_child_disconnect
1875-
[`ChildProcess.kill()`]: child_process.html#child_process_child_kill_signal
1876-
[`ChildProcess.send()`]: child_process.html#child_process_child_send_message_sendhandle_options_callback
1874+
[`ChildProcess.disconnect()`]: child_process.html#child_process_subprocess_disconnect
1875+
[`subprocess.kill()`]: child_process.html#child_process_subprocess_kill_signal
1876+
[`ChildProcess.send()`]: child_process.html#child_process_subprocess_send_message_sendhandle_options_callback
18771877
[`ChildProcess`]: child_process.html#child_process_class_childprocess
18781878
[`Error`]: errors.html#errors_class_error
18791879
[`EventEmitter`]: events.html#events_class_eventemitter

doc/api/stream.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2201,14 +2201,14 @@ contain multi-byte characters.
22012201
[TCP sockets]: net.html#net_class_net_socket
22022202
[Transform]: #stream_class_stream_transform
22032203
[Writable]: #stream_class_stream_writable
2204-
[child process stdin]: child_process.html#child_process_child_stdin
2205-
[child process stdout and stderr]: child_process.html#child_process_child_stdout
2204+
[child process stdin]: child_process.html#child_process_subprocess_stdin
2205+
[child process stdout and stderr]: child_process.html#child_process_subprocess_stdout
22062206
[crypto]: crypto.html
22072207
[fs read streams]: fs.html#fs_class_fs_readstream
22082208
[fs write streams]: fs.html#fs_class_fs_writestream
22092209
[http-incoming-message]: http.html#http_class_http_incomingmessage
22102210
[zlib]: zlib.html
2211-
[hwm-gotcha]: #stream_highWaterMark_discrepency_after_calling_readable_setencoding
2211+
[hwm-gotcha]: #stream_highwatermark_discrepency_after_calling_readable_setencoding
22122212
[Readable]: #stream_class_stream_readable
22132213
[stream-_flush]: #stream_transform_flush_callback
22142214
[stream-_read]: #stream_readable_read_size_1

0 commit comments

Comments
 (0)