Skip to content

Commit 29fd88c

Browse files
vsemozhetbytjasnell
authored andcommitted
doc: fix new nits in links
PR-URL: #15449 Reviewed-By: Refael Ackermann <[email protected]> Reviewed-By: Luigi Pinca <[email protected]> Reviewed-By: Colin Ihrig <[email protected]> Reviewed-By: James M Snell <[email protected]> Reviewed-By: Tobias Nießen <[email protected]>
1 parent 5125c08 commit 29fd88c

File tree

3 files changed

+5
-4
lines changed

3 files changed

+5
-4
lines changed

doc/api/http.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1956,7 +1956,7 @@ const req = http.request(options, (res) => {
19561956
[`agent.createConnection()`]: #http_agent_createconnection_options_callback
19571957
[`agent.getName()`]: #http_agent_getname_options
19581958
[`destroy()`]: #http_agent_destroy
1959-
[`getHeader(name)`]: #requestgetheadername
1959+
[`getHeader(name)`]: #http_request_getheader_name
19601960
[`http.Agent`]: #http_class_http_agent
19611961
[`http.ClientRequest`]: #http_class_http_clientrequest
19621962
[`http.IncomingMessage`]: #http_class_http_incomingmessage
@@ -1971,7 +1971,7 @@ const req = http.request(options, (res) => {
19711971
[`net.Server`]: net.html#net_class_net_server
19721972
[`net.Socket`]: net.html#net_class_net_socket
19731973
[`net.createConnection()`]: net.html#net_net_createconnection_options_connectlistener
1974-
[`removeHeader(name)`]: #requestremoveheadername
1974+
[`removeHeader(name)`]: #http_request_removeheader_name
19751975
[`request.end()`]: #http_request_end_data_encoding_callback
19761976
[`request.setTimeout()`]: #http_request_settimeout_timeout_callback
19771977
[`request.socket`]: #http_request_socket
@@ -1985,7 +1985,7 @@ const req = http.request(options, (res) => {
19851985
[`response.writeContinue()`]: #http_response_writecontinue
19861986
[`response.writeHead()`]: #http_response_writehead_statuscode_statusmessage_headers
19871987
[`server.timeout`]: #http_server_timeout
1988-
[`setHeader(name, value)`]: #requestsetheadername-value
1988+
[`setHeader(name, value)`]: #http_request_setheader_name_value
19891989
[`socket.setKeepAlive()`]: net.html#net_socket_setkeepalive_enable_initialdelay
19901990
[`socket.setNoDelay()`]: net.html#net_socket_setnodelay_nodelay
19911991
[`socket.setTimeout()`]: net.html#net_socket_settimeout_timeout_callback

doc/api/n-api.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3661,7 +3661,7 @@ NAPI_EXTERN napi_status napi_run_script(napi_env env,
36613661
- `[out] result`: The value resulting from having executed the script.
36623662

36633663
[Promises]: #n_api_promises
3664-
[Simple Asynchronous Operations]: #n_api_asynchronous_operations
3664+
[Simple Asynchronous Operations]: #n_api_simple_asynchronous_operations
36653665
[Custom Asynchronous Operations]: #n_api_custom_asynchronous_operations
36663666
[Basic N-API Data Types]: #n_api_basic_n_api_data_types
36673667
[ECMAScript Language Specification]: https://tc39.github.io/ecma262/

doc/api/process.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1846,6 +1846,7 @@ cases:
18461846
[`process.kill()`]: #process_process_kill_pid_signal
18471847
[`promise.catch()`]: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Promise/catch
18481848
[`require.main`]: modules.html#modules_accessing_the_main_module
1849+
[`require.resolve()`]: modules.html#modules_require_resolve
18491850
[`setTimeout(fn, 0)`]: timers.html#timers_settimeout_callback_delay_args
18501851
[Child Process]: child_process.html
18511852
[Cluster]: cluster.html

0 commit comments

Comments
 (0)