-
Notifications
You must be signed in to change notification settings - Fork 29.6k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
doc: move module-specific "globals" to modules.md #13962
Conversation
doc/api/globals.md
Outdated
@@ -2,8 +2,15 @@ | |||
|
|||
<!-- type=misc --> | |||
|
|||
These objects are available in all modules. Some of these objects aren't | |||
actually in the global scope but in the module scope - this will be noted. | |||
These objects are available in all modules. The following global-looking |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
suggestion:
The following variables may appear to be global but are not. They exist only in the scope of modules, see the module system documentation.
They would show up better in the TOC if each was listed in its original place instead of this bullet list, but with the docs replaced with a explanation and a link to the module system docs.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
That could also reduce problems with old links 👍
@sam-github PTAL |
Landed in d111319. |
PR-URL: nodejs#13962 Fixes: nodejs#13953 Reviewed-By: Sam Roberts <vieuxtech@gmail.com> Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
This does not land cleanly in LTS. Please feel free to manually backport by following the guide. Please also feel free to replace do-not-land if it is being backported |
Fixes: #13953
Checklist
make -j4 test
(UNIX), orvcbuild test
(Windows) passesAffected core subsystem(s)
doc