From 22e3ada0c12e61d17e9bbd28a3ab456daec17d75 Mon Sep 17 00:00:00 2001 From: Antoine du HAMEL Date: Fri, 7 Aug 2020 10:40:45 +0200 Subject: [PATCH] doc: rename module pages Using a "Modules:" prefix groups all the related pages together when using alphabetical order. Refs: https://github.com/nodejs/modules/issues/539 PR-URL: https://github.com/nodejs/node/pull/34663 Reviewed-By: James M Snell Reviewed-By: Guy Bedford Reviewed-By: Trivikram Kamat Reviewed-By: Geoffrey Booth Reviewed-By: Rich Trott --- doc/api/esm.md | 2 +- doc/api/index.md | 6 +++--- doc/api/module.md | 2 +- doc/api/modules.md | 2 +- doc/api/vm.md | 2 +- 5 files changed, 7 insertions(+), 7 deletions(-) diff --git a/doc/api/esm.md b/doc/api/esm.md index 2c860c710c6ac4..302f234c038b84 100644 --- a/doc/api/esm.md +++ b/doc/api/esm.md @@ -1,4 +1,4 @@ -# ECMAScript modules +# Modules: ECMAScript modules diff --git a/doc/api/index.md b/doc/api/index.md index 304685d77b96f1..3c8b459f187e6f 100644 --- a/doc/api/index.md +++ b/doc/api/index.md @@ -25,7 +25,6 @@ * [Deprecated APIs](deprecations.html) * [DNS](dns.html) * [Domain](domain.html) -* [ECMAScript modules](esm.html) * [Errors](errors.html) * [Events](events.html) * [File system](fs.html) @@ -35,8 +34,9 @@ * [HTTPS](https.html) * [Inspector](inspector.html) * [Internationalization](intl.html) -* [Modules](modules.html) -* [Modules: `module` core module](module.html) +* [Modules: CommonJS modules](modules.html) +* [Modules: ECMAScript modules](esm.html) +* [Modules: `module` API](module.html) * [Net](net.html) * [OS](os.html) * [Path](path.html) diff --git a/doc/api/module.md b/doc/api/module.md index 46eafeb7b622bd..e5d2cd7dd70373 100644 --- a/doc/api/module.md +++ b/doc/api/module.md @@ -1,4 +1,4 @@ -# Modules: `module` core module +# Modules: `module` API diff --git a/doc/api/modules.md b/doc/api/modules.md index e88a51de557dd3..5edb1e101e2b3d 100644 --- a/doc/api/modules.md +++ b/doc/api/modules.md @@ -1,4 +1,4 @@ -# Modules +# Modules: CommonJS modules diff --git a/doc/api/vm.md b/doc/api/vm.md index 647005c338840f..80914c0ab729b5 100644 --- a/doc/api/vm.md +++ b/doc/api/vm.md @@ -1320,7 +1320,7 @@ are not controllable through the timeout either. [`vm.runInContext()`]: #vm_vm_runincontext_code_contextifiedobject_options [`vm.runInThisContext()`]: #vm_vm_runinthiscontext_code_options [Cyclic Module Record]: https://tc39.es/ecma262/#sec-cyclic-module-records -[ECMAScript Module Loader]: esm.html#esm_ecmascript_modules +[ECMAScript Module Loader]: esm.html#esm_modules_ecmascript_modules [Evaluate() concrete method]: https://tc39.es/ecma262/#sec-moduleevaluation [GetModuleNamespace]: https://tc39.es/ecma262/#sec-getmodulenamespace [HostResolveImportedModule]: https://tc39.es/ecma262/#sec-hostresolveimportedmodule