diff options
author | Antoine du Hamel <duhamelantoine1995@gmail.com> | 2020-09-14 18:09:13 +0300 |
---|---|---|
committer | Rich Trott <rtrott@gmail.com> | 2020-10-01 16:19:12 +0300 |
commit | ecf5060a42a5cd073ed4200e80afae1a79178bba (patch) | |
tree | 75f774ee55e85607f285c58ac535a5c3bf709dd7 /doc/api/url.md | |
parent | 726143e683738b0e60580bdc247e6cfa60a0783a (diff) |
doc: use .md extension for internal links
This helps catch broken links as part of the test suite. This also
improves the user experience when browsing the markdown files.
PR-URL: https://github.com/nodejs/node/pull/35191
Fixes: https://github.com/nodejs/node/issues/35189
Reviewed-By: Derek Lewis <DerekNonGeneric@inf.is>
Reviewed-By: Jiawen Geng <technicalcute@gmail.com>
Reviewed-By: Trivikram Kamat <trivikr.dev@gmail.com>
Reviewed-By: Richard Lau <riclau@uk.ibm.com>
Reviewed-By: Rich Trott <rtrott@gmail.com>
Diffstat (limited to 'doc/api/url.md')
-rw-r--r-- | doc/api/url.md | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/doc/api/url.md b/doc/api/url.md index 07600dc3bb7..849d2877baf 100644 --- a/doc/api/url.md +++ b/doc/api/url.md @@ -1370,14 +1370,14 @@ console.log(myURL.origin); // Prints https://xn--1xa.example.com ``` -[`Error`]: errors.html#errors_class_error +[`Error`]: errors.md#errors_class_error [`JSON.stringify()`]: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/JSON/stringify [`Map`]: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Map -[`TypeError`]: errors.html#errors_class_typeerror +[`TypeError`]: errors.md#errors_class_typeerror [`URLSearchParams`]: #url_class_urlsearchparams [`array.toString()`]: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Array/toString [`new URL()`]: #url_new_url_input_base -[`querystring`]: querystring.html +[`querystring`]: querystring.md [`require('url').format()`]: #url_url_format_url_options [`url.domainToASCII()`]: #url_url_domaintoascii_domain [`url.domainToUnicode()`]: #url_url_domaintounicode_domain @@ -1389,7 +1389,7 @@ console.log(myURL.origin); [`url.toString()`]: #url_url_tostring [`urlSearchParams.entries()`]: #url_urlsearchparams_entries [`urlSearchParams@@iterator()`]: #url_urlsearchparams_symbol_iterator -[ICU]: intl.html#intl_options_for_building_node_js +[ICU]: intl.md#intl_options_for_building_node_js [Punycode]: https://tools.ietf.org/html/rfc5891#section-4.4 [WHATWG URL Standard]: https://url.spec.whatwg.org/ [WHATWG URL]: #url_the_whatwg_url_api |