Skip to content

Commit 80bea04

Browse files
committed
doc: rename module pages
Using a "Modules:" prefix groups all the related pages together when using alphabetical order. Refs: nodejs/modules#539
1 parent 42b5f5f commit 80bea04

File tree

4 files changed

+5
-5
lines changed

4 files changed

+5
-5
lines changed

‎doc/api/esm.md‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# ECMAScript modules
1+
# Modules: ECMAScript modules
22

33
<!--introduced_in=v8.5.0-->
44
<!-- type=misc -->

‎doc/api/index.md‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,6 @@
2525
*[Deprecated APIs](deprecations.html)
2626
*[DNS](dns.html)
2727
*[Domain](domain.html)
28-
*[ECMAScript modules](esm.html)
2928
*[Errors](errors.html)
3029
*[Events](events.html)
3130
*[File system](fs.html)
@@ -35,7 +34,8 @@
3534
*[HTTPS](https.html)
3635
*[Inspector](inspector.html)
3736
*[Internationalization](intl.html)
38-
*[Modules](modules.html)
37+
*[Modules: CommonJS modules](modules.html)
38+
*[Modules: ECMAScript modules](esm.html)
3939
*[Modules: `module` core module](module.html)
4040
*[Net](net.html)
4141
*[OS](os.html)

‎doc/api/modules.md‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# Modules
1+
# Modules: CommonJS modules
22

33
<!--introduced_in=v0.10.0-->
44

‎doc/api/vm.md‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1320,7 +1320,7 @@ are not controllable through the timeout either.
13201320
[`vm.runInContext()`]: #vm_vm_runincontext_code_contextifiedobject_options
13211321
[`vm.runInThisContext()`]: #vm_vm_runinthiscontext_code_options
13221322
[Cyclic Module Record]: https://tc39.es/ecma262/#sec-cyclic-module-records
1323-
[ECMAScript Module Loader]: esm.html#esm_ecmascript_modules
1323+
[ECMAScript Module Loader]: esm.html#esm_modules_ecmascript_modules
13241324
[Evaluate() concrete method]: https://tc39.es/ecma262/#sec-moduleevaluation
13251325
[GetModuleNamespace]: https://tc39.es/ecma262/#sec-getmodulenamespace
13261326
[HostResolveImportedModule]: https://tc39.es/ecma262/#sec-hostresolveimportedmodule

0 commit comments

Comments
(0)