Skip to content

Commit b3bf3d9

Browse files
mhdawsontargos
authored andcommitted
doc: use HEAD in links where possible
Where possible used HEAD in links Signed-off-by: Michael Dawson <mdawson@devrus.com> PR-URL: #37421 Reviewed-By: Rich Trott <rtrott@gmail.com> Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com> Reviewed-By: Zijian Liu <lxxyxzj@gmail.com> Reviewed-By: Darshan Sen <raisinten@gmail.com> Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
1 parent 49013fc commit b3bf3d9

12 files changed

+27
-27
lines changed

doc/guides/collaborator-guide.md

+3-3
Original file line numberDiff line numberDiff line change
@@ -378,7 +378,7 @@ For pull requests introducing new core modules:
378378
Node-API provides an ABI-stable API guaranteed for future Node.js versions.
379379
Node-API additions call for unusual care and scrutiny. If a change adds to
380380
`node_api.h`, `js_native_api.h`, `node_api_types.h`, or `js_native_api_types.h`,
381-
consult [the relevant guide](https://github.com/nodejs/node/blob/master/doc/guides/adding-new-napi-api.md).
381+
consult [the relevant guide](https://github.com/nodejs/node/blob/HEAD/doc/guides/adding-new-napi-api.md).
382382

383383
### Deprecations
384384

@@ -815,8 +815,8 @@ If you cannot find who to cc for a file, `git shortlog -n -s <file>` can help.
815815
[commit message guidelines]: contributing/pull-requests.md#commit-message-guidelines
816816
[commit-example]: https://github.com/nodejs/node/commit/b636ba8186
817817
[git-email]: https://help.github.com/articles/setting-your-commit-email-address-in-git/
818-
[git-node]: https://github.com/nodejs/node-core-utils/blob/master/docs/git-node.md
819-
[git-node-metadata]: https://github.com/nodejs/node-core-utils/blob/master/docs/git-node.md#git-node-metadata
818+
[git-node]: https://github.com/nodejs/node-core-utils/blob/HEAD/docs/git-node.md
819+
[git-node-metadata]: https://github.com/nodejs/node-core-utils/blob/HEAD/docs/git-node.md#git-node-metadata
820820
[git-username]: https://help.github.com/articles/setting-your-username-in-git/
821821
[node-core-utils-credentials]: https://github.com/nodejs/node-core-utils#setting-up-credentials
822822
[node-core-utils-issues]: https://github.com/nodejs/node-core-utils/issues

doc/guides/contributing/code-of-conduct.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -40,4 +40,4 @@ that you *might* be wrong is critical for any successful open collaboration.
4040

4141
Don't be a bad actor.
4242

43-
[Code of Conduct]: https://github.com/nodejs/admin/blob/master/CODE_OF_CONDUCT.md
43+
[Code of Conduct]: https://github.com/nodejs/admin/blob/HEAD/CODE_OF_CONDUCT.md

doc/guides/contributing/issues.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ project's GitHub organization plus a few contributions to the project
5353
(commenting on issues or PRs) can apply for and become a triager. Open a PR
5454
on the README.md of this project with: i) a request to be added as a triager,
5555
ii) the motivation for becoming a triager, and iii) agreement on reading,
56-
understanding, and adhering to the project's [Code Of Conduct](https://github.com/nodejs/admin/blob/master/CODE_OF_CONDUCT.md).
56+
understanding, and adhering to the project's [Code Of Conduct](https://github.com/nodejs/admin/blob/HEAD/CODE_OF_CONDUCT.md).
5757

5858
The triage role enables the ability to carry out the most common triage
5959
activities, such as applying labels and closing/reopening/assigning issues.

doc/guides/contributing/pull-requests.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -591,7 +591,7 @@ More than one subsystem may be valid for any particular issue or pull request.
591591

592592
[Building guide]: ../../../BUILDING.md
593593
[CI (Continuous Integration) test run]: #ci-testing
594-
[Code of Conduct]: https://github.com/nodejs/admin/blob/master/CODE_OF_CONDUCT.md
594+
[Code of Conduct]: https://github.com/nodejs/admin/blob/HEAD/CODE_OF_CONDUCT.md
595595
[Collaborator Guide]: ../collaborator-guide.md
596596
[IRC in the #node-dev channel]: https://webchat.freenode.net?channels=node-dev&uio=d4
597597
[Onboarding guide]: ../../../onboarding.md
@@ -600,5 +600,5 @@ More than one subsystem may be valid for any particular issue or pull request.
600600
[guide for writing tests in Node.js]: ../writing-tests.md
601601
[hiding-a-comment]: https://help.github.com/articles/managing-disruptive-comments/#hiding-a-comment
602602
[https://ci.nodejs.org/]: https://ci.nodejs.org/
603-
[pull request template]: https://raw.githubusercontent.com/nodejs/node/master/.github/PULL_REQUEST_TEMPLATE.md
603+
[pull request template]: https://raw.githubusercontent.com/nodejs/node/HEAD/.github/PULL_REQUEST_TEMPLATE.md
604604
[running tests]: ../../../BUILDING.md#running-tests

doc/guides/cpp-style-guide.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -400,7 +400,7 @@ even `try` and `catch` **will** break.
400400
[R.20]: https://isocpp.github.io/CppCoreGuidelines/CppCoreGuidelines#Rr-owner
401401
[R.21]: https://isocpp.github.io/CppCoreGuidelines/CppCoreGuidelines#Rr-unique
402402
[Run Time Type Information]: https://en.wikipedia.org/wiki/Run-time_type_information
403-
[aliased_buffer.h]: https://github.com/nodejs/node/blob/master/src/aliased_buffer.h#L12
403+
[aliased_buffer.h]: https://github.com/nodejs/node/blob/HEAD/src/aliased_buffer.h#L12
404404
[cppref_auto_ptr]: https://en.cppreference.com/w/cpp/memory/auto_ptr
405-
[errors]: https://github.com/nodejs/node/blob/master/doc/guides/using-internal-errors.md
405+
[errors]: https://github.com/nodejs/node/blob/HEAD/doc/guides/using-internal-errors.md
406406
[without C++ exception handling]: https://gcc.gnu.org/onlinedocs/libstdc++/manual/using_exceptions.html#intro.using.exception.no

doc/guides/doc-style-guide.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -108,5 +108,5 @@ For topics not covered here, refer to the [Microsoft Writing Style Guide][].
108108
[`remark-preset-lint-node`]: https://github.com/nodejs/remark-preset-lint-node
109109
[doctools README]: ../../tools/doc/README.md
110110
[info string]: https://github.github.com/gfm/#info-string
111-
[language]: https://github.com/highlightjs/highlight.js/blob/master/SUPPORTED_LANGUAGES.md
111+
[language]: https://github.com/highlightjs/highlight.js/blob/HEAD/SUPPORTED_LANGUAGES.md
112112
[plugin]: https://editorconfig.org/#download

doc/guides/maintaining-V8.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -431,4 +431,4 @@ as their support has ended.
431431
[V8MergingPatching]: https://github.com/v8/v8/wiki/Merging%20&%20Patching
432432
[V8TemplateMergeRequest]: https://bugs.chromium.org/p/v8/issues/entry?template=Node.js%20merge%20request
433433
[V8TemplateUpstreamBug]: https://bugs.chromium.org/p/v8/issues/entry?template=Node.js%20upstream%20bug
434-
[`git-node`]: https://github.com/nodejs/node-core-utils/blob/master/docs/git-node.md#git-node-v8
434+
[`git-node`]: https://github.com/nodejs/node-core-utils/blob/HEAD/docs/git-node.md#git-node-v8

doc/guides/maintaining-icu.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ and announces them on the [`tz-announce`](https://mm.icann.org/pipermail/tz-anno
4444
mailing list.
4545

4646
The Unicode project takes new releases and publishes
47-
[updated time zone data files](https://github.com/unicode-org/icu-data/tree/master/tzdata/icunew)
47+
[updated time zone data files](https://github.com/unicode-org/icu-data/tree/HEAD/tzdata/icunew)
4848
in the icu/icu-data repository.
4949

5050
All modern versions of Node.js use the version 44 ABI of the time zone data

doc/guides/releases.md

+5-5
Original file line numberDiff line numberDiff line change
@@ -194,7 +194,7 @@ When cherry-picking commits, if there are simple conflicts you can resolve
194194
them. Otherwise, add the `backport-requested-vN.x` label to the original PR
195195
and post a comment stating that it does not land cleanly and will require a
196196
backport PR. You can refer the owner of the PR to the "[Backporting to Release
197-
Lines](https://github.com/nodejs/node/blob/master/doc/guides/backporting-to-release-lines.md)" guide.
197+
Lines](https://github.com/nodejs/node/blob/HEAD/doc/guides/backporting-to-release-lines.md)" guide.
198198

199199
If commits were cherry-picked in this step, check that the test still pass and
200200
push to the staging branch to keep it up-to-date.
@@ -249,7 +249,7 @@ defined, so if in doubt, please confer with someone that will have a more
249249
informed perspective, such as a member of the NAN team.
250250

251251
A registry of currently used `NODE_MODULE_VERSION` values is maintained at
252-
<https://github.com/nodejs/node/blob/master/doc/abi_version_registry.json>.
252+
<https://github.com/nodejs/node/blob/HEAD/doc/abi_version_registry.json>.
253253
When bumping `NODE_MODULE_VERSION`, you should choose a new value not listed
254254
in the registry. Also include a change to the registry in your commit to
255255
reflect the newly used value.
@@ -882,8 +882,8 @@ commits may be listed as notable changes on a case-by-case basis. Use your
882882
judgment there.
883883

884884
[Build issue tracker]: https://github.com/nodejs/build/issues/new
885-
[CI lockdown procedure]: https://github.com/nodejs/build/blob/master/doc/jenkins-guide.md#restricting-access-for-security-releases
886-
[Partner Communities]: https://github.com/nodejs/community-committee/blob/master/governance/PARTNER_COMMUNITIES.md
887-
[nodejs.org release-post.js script]: https://github.com/nodejs/nodejs.org/blob/master/scripts/release-post.js
885+
[CI lockdown procedure]: https://github.com/nodejs/build/blob/HEAD/doc/jenkins-guide.md#restricting-access-for-security-releases
886+
[Partner Communities]: https://github.com/nodejs/community-committee/blob/HEAD/governance/PARTNER_COMMUNITIES.md
887+
[nodejs.org release-post.js script]: https://github.com/nodejs/nodejs.org/blob/HEAD/scripts/release-post.js
888888
[nodejs.org repository]: https://github.com/nodejs/nodejs.org
889889
[webchat.freenode.net]: https://webchat.freenode.net/

doc/guides/security-release-process.md

+3-3
Original file line numberDiff line numberDiff line change
@@ -57,11 +57,11 @@ information described.
5757

5858
## Release day
5959

60-
* [ ] [Lock CI](https://github.com/nodejs/build/blob/master/doc/jenkins-guide.md#before-the-release)
60+
* [ ] [Lock CI](https://github.com/nodejs/build/blob/HEAD/doc/jenkins-guide.md#before-the-release)
6161

6262
* [ ] The releaser(s) run the release process to completion.
6363

64-
* [ ] [Unlock CI](https://github.com/nodejs/build/blob/master/doc/jenkins-guide.md#after-the-release)
64+
* [ ] [Unlock CI](https://github.com/nodejs/build/blob/HEAD/doc/jenkins-guide.md#after-the-release)
6565

6666
* [ ] Post-release announcement in reply [email][]: ***LINK TO EMAIL***
6767

@@ -84,7 +84,7 @@ information described.
8484
links to the release blogs in the "Public Reference" section)
8585

8686
* [ ] PR machine-readable JSON descriptions of the vulnerabilities to the
87-
[core](https://github.com/nodejs/security-wg/tree/master/vuln/core)
87+
[core](https://github.com/nodejs/security-wg/tree/HEAD/vuln/core)
8888
vulnerability DB. ***LINK TO PR***
8989

9090
* [ ] Close this issue

doc/guides/writing-and-running-benchmarks.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -560,7 +560,7 @@ Supported options keys are:
560560
benchmarker
561561

562562
[autocannon]: https://github.com/mcollina/autocannon
563-
[benchmark-ci]: https://github.com/nodejs/benchmarking/blob/master/docs/core_benchmarks.md
563+
[benchmark-ci]: https://github.com/nodejs/benchmarking/blob/HEAD/docs/core_benchmarks.md
564564
[git-for-windows]: https://git-scm.com/download/win
565565
[nghttp2.org]: https://nghttp2.org
566566
[t-test]: https://en.wikipedia.org/wiki/Student%27s_t-test#Equal_or_unequal_sample_sizes.2C_unequal_variances

doc/guides/writing-tests.md

+6-6
Original file line numberDiff line numberDiff line change
@@ -161,7 +161,7 @@ platforms.
161161
### The *common* API
162162

163163
Make use of the helpers from the `common` module as much as possible. Please
164-
refer to the [common file documentation](https://github.com/nodejs/node/tree/master/test/common)
164+
refer to the [common file documentation](https://github.com/nodejs/node/tree/HEAD/test/common)
165165
for the full details of the helpers.
166166

167167
#### common.mustCall
@@ -231,7 +231,7 @@ instead.
231231

232232
#### Countdown Module
233233

234-
The common [Countdown module](https://github.com/nodejs/node/tree/master/test/common#countdown-module)
234+
The common [Countdown module](https://github.com/nodejs/node/tree/HEAD/test/common#countdown-module)
235235
provides a simple countdown mechanism for tests that require a particular
236236
action to be taken after a given number of completed tasks (for instance,
237237
shutting down an HTTP server after a specific number of requests).
@@ -454,9 +454,9 @@ Nightly coverage reports for the Node.js master branch are available at
454454

455455
[ASCII]: https://man7.org/linux/man-pages/man7/ascii.7.html
456456
[Google Test]: https://github.com/google/googletest
457-
[Test Coverage section of the Building guide]: https://github.com/nodejs/node/blob/master/BUILDING.md#running-coverage
458-
[`common` module]: https://github.com/nodejs/node/blob/master/test/common/README.md
457+
[Test Coverage section of the Building guide]: https://github.com/nodejs/node/blob/HEAD/BUILDING.md#running-coverage
458+
[`common` module]: https://github.com/nodejs/node/blob/HEAD/test/common/README.md
459459
[all maintained branches]: https://github.com/nodejs/lts
460-
[directory structure overview]: https://github.com/nodejs/node/blob/master/test/README.md#test-directories
460+
[directory structure overview]: https://github.com/nodejs/node/blob/HEAD/test/README.md#test-directories
461461
[node.green]: https://node.green/
462-
[test fixture]: https://github.com/google/googletest/blob/master/googletest/docs/primer.md#test-fixtures-using-the-same-data-configuration-for-multiple-tests-same-data-multiple-tests
462+
[test fixture]: https://github.com/google/googletest/blob/HEAD/googletest/docs/primer.md#test-fixtures-using-the-same-data-configuration-for-multiple-tests-same-data-multiple-tests

0 commit comments

Comments
 (0)