Skip to content

Commit 4efc6fe

Browse files
vsemozhetbytjasnell
authored andcommitted
doc: fix some internal links
PR-URL: #15293 Reviewed-By: Claudio Rodriguez <[email protected]> Reviewed-By: Ruben Bridgewater <[email protected]> Reviewed-By: Luigi Pinca <[email protected]> Reviewed-By: Franziska Hinkelmann <[email protected]> Reviewed-By: Colin Ihrig <[email protected]> Reviewed-By: Tobias Nießen <[email protected]>
1 parent cd3a8e8 commit 4efc6fe

File tree

7 files changed

+23
-24
lines changed

7 files changed

+23
-24
lines changed

doc/api/cluster.md

+3-3
Original file line numberDiff line numberDiff line change
@@ -860,14 +860,14 @@ socket.on('data', (id) => {
860860
});
861861
```
862862

863-
[`ChildProcess.send()`]: child_process.html#child_process_child_send_message_sendhandle_options_callback
863+
[`ChildProcess.send()`]: child_process.html#child_process_subprocess_send_message_sendhandle_options_callback
864864
[`child_process.fork()`]: child_process.html#child_process_child_process_fork_modulepath_args_options
865-
[`disconnect`]: child_process.html#child_process_child_disconnect
865+
[`disconnect`]: child_process.html#child_process_subprocess_disconnect
866866
[`kill`]: process.html#process_process_kill_pid_signal
867867
[`process` event: `'message'`]: process.html#process_event_message
868868
[`server.close()`]: net.html#net_event_close
869869
[`worker.exitedAfterDisconnect`]: #cluster_worker_exitedafterdisconnect
870870
[Child Process module]: child_process.html#child_process_child_process_fork_modulepath_args_options
871871
[child_process event: 'exit']: child_process.html#child_process_event_exit
872872
[child_process event: 'message']: child_process.html#child_process_event_message
873-
[`cluster.settings`]: #clustersettings
873+
[`cluster.settings`]: #cluster_cluster_settings

doc/api/crypto.md

+2-2
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

+2-2
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

+1-1
Original file line numberDiff line numberDiff line change
@@ -660,7 +660,7 @@ Type: Runtime
660660
[`os.networkInterfaces`]: os.html#os_os_networkinterfaces
661661
[`os.tmpdir()`]: os.html#os_os_tmpdir
662662
[`punycode`]: punycode.html
663-
[`require.extensions`]: globals.html#globals_require_extensions
663+
[`require.extensions`]: modules.html#modules_require_extensions
664664
[`tls.CryptoStream`]: tls.html#tls_class_cryptostream
665665
[`tls.SecureContext`]: tls.html#tls_tls_createsecurecontext_options
666666
[`tls.SecurePair`]: tls.html#tls_class_securepair

doc/api/http2.md

+8-9
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

+4-4
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.
@@ -1827,9 +1827,9 @@ cases:
18271827
[`'message'`]: child_process.html#child_process_event_message
18281828
[`'rejectionHandled'`]: #process_event_rejectionhandled
18291829
[`'uncaughtException'`]: #process_event_uncaughtexception
1830-
[`ChildProcess.disconnect()`]: child_process.html#child_process_child_disconnect
1831-
[`ChildProcess.kill()`]: child_process.html#child_process_child_kill_signal
1832-
[`ChildProcess.send()`]: child_process.html#child_process_child_send_message_sendhandle_options_callback
1830+
[`ChildProcess.disconnect()`]: child_process.html#child_process_subprocess_disconnect
1831+
[`subprocess.kill()`]: child_process.html#child_process_subprocess_kill_signal
1832+
[`ChildProcess.send()`]: child_process.html#child_process_subprocess_send_message_sendhandle_options_callback
18331833
[`ChildProcess`]: child_process.html#child_process_class_childprocess
18341834
[`Error`]: errors.html#errors_class_error
18351835
[`EventEmitter`]: events.html#events_class_eventemitter

doc/api/stream.md

+3-3
Original file line numberDiff line numberDiff line change
@@ -2210,14 +2210,14 @@ contain multi-byte characters.
22102210
[TCP sockets]: net.html#net_class_net_socket
22112211
[Transform]: #stream_class_stream_transform
22122212
[Writable]: #stream_class_stream_writable
2213-
[child process stdin]: child_process.html#child_process_child_stdin
2214-
[child process stdout and stderr]: child_process.html#child_process_child_stdout
2213+
[child process stdin]: child_process.html#child_process_subprocess_stdin
2214+
[child process stdout and stderr]: child_process.html#child_process_subprocess_stdout
22152215
[crypto]: crypto.html
22162216
[fs read streams]: fs.html#fs_class_fs_readstream
22172217
[fs write streams]: fs.html#fs_class_fs_writestream
22182218
[http-incoming-message]: http.html#http_class_http_incomingmessage
22192219
[zlib]: zlib.html
2220-
[hwm-gotcha]: #stream_highWaterMark_discrepency_after_calling_readable_setencoding
2220+
[hwm-gotcha]: #stream_highwatermark_discrepency_after_calling_readable_setencoding
22212221
[Readable]: #stream_class_stream_readable
22222222
[stream-_flush]: #stream_transform_flush_callback
22232223
[stream-_read]: #stream_readable_read_size_1

0 commit comments

Comments
 (0)