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:
authorAntoine du Hamel <duhamelantoine1995@gmail.com>2020-09-14 18:09:13 +0300
committerRich Trott <rtrott@gmail.com>2020-10-01 16:19:12 +0300
commitecf5060a42a5cd073ed4200e80afae1a79178bba (patch)
tree75f774ee55e85607f285c58ac535a5c3bf709dd7 /doc/api/modules.md
parent726143e683738b0e60580bdc247e6cfa60a0783a (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/modules.md')
-rw-r--r--doc/api/modules.md18
1 files changed, 9 insertions, 9 deletions
diff --git a/doc/api/modules.md b/doc/api/modules.md
index d7efbb40759..171f9b978fa 100644
--- a/doc/api/modules.md
+++ b/doc/api/modules.md
@@ -951,7 +951,7 @@ in order to be used.
## The `Module` object
This section was moved to
-[Modules: `module` core module](module.html#module_the_module_object).
+[Modules: `module` core module](module.md#module_the_module_object).
<!-- Anchors to make sure old links find a target -->
* <a id="modules_module_builtinmodules" href="module.html#module_module_builtinmodules">`module.builtinModules`</a>
@@ -962,7 +962,7 @@ This section was moved to
## Source map v3 support
This section was moved to
-[Modules: `module` core module](module.html#module_source_map_v3_support).
+[Modules: `module` core module](module.md#module_source_map_v3_support).
<!-- Anchors to make sure old links find a target -->
* <a id="modules_module_findsourcemap_path_error" href="module.html#module_module_findsourcemap_path_error">`module.findSourceMap(path[, error])`</a>
@@ -972,18 +972,18 @@ This section was moved to
* <a id="modules_sourcemap_findentry_linenumber_columnnumber" href="module.html#module_sourcemap_findentry_linenumber_columnnumber">`sourceMap.findEntry(lineNumber, columnNumber)`</a>
[GLOBAL_FOLDERS]: #modules_loading_from_the_global_folders
-[`Error`]: errors.html#errors_class_error
+[`Error`]: errors.md#errors_class_error
[`__dirname`]: #modules_dirname
[`__filename`]: #modules_filename
[`module` object]: #modules_the_module_object
[`module.id`]: #modules_module_id
[`module.children`]: #modules_module_children
-[`path.dirname()`]: path.html#path_path_dirname_path
-[ECMAScript Modules]: esm.html
-[an error]: errors.html#errors_err_require_esm
+[`path.dirname()`]: path.md#path_path_dirname_path
+[ECMAScript Modules]: esm.md
+[an error]: errors.md#errors_err_require_esm
[exports shortcut]: #modules_exports_shortcut
[module resolution]: #modules_all_together
-[native addons]: addons.html
+[native addons]: addons.md
[`require.main`]: #modules_require_main
-[`package.json`]: packages.html#packages_node_js_package_json_field_definitions
-[`"main"`]: packages.html#packages_main
+[`package.json`]: packages.md#packages_node_js_package_json_field_definitions
+[`"main"`]: packages.md#packages_main