Skip to content

Commit 71e6c6e

Browse files
vsemozhetbytMylesBorins
authored andcommitted
doc: fix some links
PR-URL: #16202 Reviewed-By: Daijiro Wachi <[email protected]> Reviewed-By: Colin Ihrig <[email protected]>
1 parent d1080f8 commit 71e6c6e

File tree

3 files changed

+7
-6
lines changed

3 files changed

+7
-6
lines changed

doc/api/async_hooks.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -95,7 +95,7 @@ respective asynchronous event during a resource's lifetime.
9595
All callbacks are optional. So, for example, if only resource cleanup needs to
9696
be tracked then only the `destroy` callback needs to be passed. The
9797
specifics of all functions that can be passed to `callbacks` is in the section
98-
[`Hook Callbacks`][].
98+
[Hook Callbacks][].
9999

100100
```js
101101
const async_hooks = require('async_hooks');
@@ -637,5 +637,5 @@ constructor.
637637
[`after` callback]: #async_hooks_after_asyncid
638638
[`before` callback]: #async_hooks_before_asyncid
639639
[`destroy` callback]: #async_hooks_before_asyncid
640-
[`Hook Callbacks`]: #async_hooks_hook_callbacks
641640
[`init` callback]: #async_hooks_init_asyncid_type_triggerasyncid_resource
641+
[Hook Callbacks]: #async_hooks_hook_callbacks

doc/api/http2.md

+4-4
Original file line numberDiff line numberDiff line change
@@ -1322,7 +1322,7 @@ added: v8.5.0
13221322
* `request` {http2.Http2ServerRequest}
13231323
* `response` {http2.Http2ServerResponse}
13241324

1325-
If a [`'request'`][] listener is registered or [`'http2.createServer()'`][] is
1325+
If a [`'request'`][] listener is registered or [`http2.createServer()`][] is
13261326
supplied a callback function, the `'checkContinue'` event is emitted each time
13271327
a request with an HTTP `Expect: 100-continue` is received. If this event is
13281328
not listened for, the server will automatically respond with a status
@@ -1427,7 +1427,7 @@ added: v8.5.0
14271427
* `request` {http2.Http2ServerRequest}
14281428
* `response` {http2.Http2ServerResponse}
14291429

1430-
If a [`'request'`][] listener is registered or [`'http2.createSecureServer()'`][]
1430+
If a [`'request'`][] listener is registered or [`http2.createSecureServer()`][]
14311431
is supplied a callback function, the `'checkContinue'` event is emitted each
14321432
time a request with an HTTP `Expect: 100-continue` is received. If this event
14331433
is not listened for, the server will automatically respond with a status
@@ -2152,7 +2152,7 @@ set on `request.stream`.
21522152
`setTimeout` method will be called on `request.stream.session`.
21532153

21542154
`pause`, `read`, `resume`, and `write` will throw an error with code
2155-
`ERR_HTTP2_NO_SOCKET_MANIPULATION`. See [`Http2Session and Sockets`][] for
2155+
`ERR_HTTP2_NO_SOCKET_MANIPULATION`. See [Http2Session and Sockets][] for
21562156
more information.
21572157

21582158
All other interactions will be routed directly to the socket. With TLS support,
@@ -2524,7 +2524,7 @@ set on `response.stream`.
25242524
`setTimeout` method will be called on `response.stream.session`.
25252525

25262526
`pause`, `read`, `resume`, and `write` will throw an error with code
2527-
`ERR_HTTP2_NO_SOCKET_MANIPULATION`. See [`Http2Session and Sockets`][] for
2527+
`ERR_HTTP2_NO_SOCKET_MANIPULATION`. See [Http2Session and Sockets][] for
25282528
more information.
25292529

25302530
All other interactions will be routed directly to the socket.

doc/api/n-api.md

+1
Original file line numberDiff line numberDiff line change
@@ -3681,6 +3681,7 @@ NAPI_EXTERN napi_status napi_run_script(napi_env env,
36813681
[Working with JavaScript Values]: #n_api_working_with_javascript_values
36823682
[Working with JavaScript Values - Abstract Operations]: #n_api_working_with_javascript_values_abstract_operations
36833683

3684+
[`napi_async_init`]: #n_api_napi_async_init
36843685
[`napi_cancel_async_work`]: #n_api_napi_cancel_async_work
36853686
[`napi_close_escapable_handle_scope`]: #n_api_napi_close_escapable_handle_scope
36863687
[`napi_close_handle_scope`]: #n_api_napi_close_handle_scope

0 commit comments

Comments
 (0)