Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nodejs/node.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Dawson <mdawson@devrus.com>2021-02-18 20:29:37 +0300
committerAntoine du Hamel <duhamelantoine1995@gmail.com>2021-02-22 14:30:52 +0300
commit74227bbc4aa3da2446d5d8398081f3225dd68b64 (patch)
tree8f06eb056a7c8e8fd338ff0994b2248a79404629 /doc/api/n-api.md
parentf37ae3c1e3bc53230481b58f5b6bbae72c4cc6cd (diff)
doc: use HEAD for links in api docs
Change links in api docs to use HEAD when they refer to the primary branch. Signed-off-by: Michael Dawson <mdawson@devrus.com> PR-URL: https://github.com/nodejs/node/pull/37437 Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com> Reviewed-By: Darshan Sen <raisinten@gmail.com> Reviewed-By: Rich Trott <rtrott@gmail.com> Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Benjamin Gruenbaum <benjamingr@gmail.com> Reviewed-By: Luigi Pinca <luigipinca@gmail.com> Reviewed-By: Juan José Arboleda <soyjuanarbol@gmail.com>
Diffstat (limited to 'doc/api/n-api.md')
-rw-r--r--doc/api/n-api.md2
1 files changed, 1 insertions, 1 deletions
diff --git a/doc/api/n-api.md b/doc/api/n-api.md
index 507e17af142..299597cdf63 100644
--- a/doc/api/n-api.md
+++ b/doc/api/n-api.md
@@ -6089,7 +6089,7 @@ the add-on's file name during loading.
[`napi_unwrap`]: #n_api_napi_unwrap
[`napi_wrap`]: #n_api_napi_wrap
[`node-addon-api`]: https://github.com/nodejs/node-addon-api
-[`node_api.h`]: https://github.com/nodejs/node/blob/master/src/node_api.h
+[`node_api.h`]: https://github.com/nodejs/node/blob/HEAD/src/node_api.h
[`process.release`]: process.md#process_process_release
[`uv_ref`]: https://docs.libuv.org/en/v1.x/handle.html#c.uv_ref
[`uv_unref`]: https://docs.libuv.org/en/v1.x/handle.html#c.uv_unref