From 80bea04d00cf32ee2fa980310b29403b658dec1c Mon Sep 17 00:00:00 2001 From: Antoine du HAMEL Date: Fri, 7 Aug 2020 10:40:45 +0200 Subject: [PATCH 1/2] 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 --- doc/api/esm.md | 2 +- doc/api/index.md | 4 ++-- doc/api/modules.md | 2 +- doc/api/vm.md | 2 +- 4 files changed, 5 insertions(+), 5 deletions(-) diff --git a/doc/api/esm.md b/doc/api/esm.md index 2968e0385b3656..547e3485989cdb 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..07df4753a8122b 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,7 +34,8 @@ * [HTTPS](https.html) * [Inspector](inspector.html) * [Internationalization](intl.html) -* [Modules](modules.html) +* [Modules: CommonJS modules](modules.html) +* [Modules: ECMAScript modules](esm.html) * [Modules: `module` core module](module.html) * [Net](net.html) * [OS](os.html) 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 From dc9672b33f1a9928ebf7cb2a0941ebb27358b148 Mon Sep 17 00:00:00 2001 From: Antoine du HAMEL Date: Sat, 22 Aug 2020 10:48:32 +0200 Subject: [PATCH 2/2] Rename module.md --- doc/api/index.md | 2 +- doc/api/module.md | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/doc/api/index.md b/doc/api/index.md index 07df4753a8122b..3c8b459f187e6f 100644 --- a/doc/api/index.md +++ b/doc/api/index.md @@ -36,7 +36,7 @@ * [Internationalization](intl.html) * [Modules: CommonJS modules](modules.html) * [Modules: ECMAScript modules](esm.html) -* [Modules: `module` core module](module.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 98bc8e82f95247..9ce16900fbbdcc 100644 --- a/doc/api/module.md +++ b/doc/api/module.md @@ -1,4 +1,4 @@ -# Modules: `module` core module +# Modules: `module` API