Skip to content
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: use 'Node.js' instead of 'Node' per Foundation branding guidelines #23967

Closed
wants to merge 3 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
2 changes: 1 addition & 1 deletion BUILDING.md
Expand Up @@ -70,7 +70,7 @@ Support is divided into three tiers:
### Supported platforms

The community does not build or test against end-of-life distributions (EoL).
Thus, we do not recommend that you use Node on end-of-life or unsupported
Thus, we do not recommend that you use Node.js on end-of-life or unsupported
platforms in production.

| System | Support type | Version | Architectures | Notes |
Expand Down
2 changes: 2 additions & 0 deletions doc/STYLE_GUIDE.md
Expand Up @@ -65,6 +65,8 @@
<!--lint disable prohibited-strings remark-lint-->
* NOT OK: Javascript, Google's v8
<!-- lint enable prohibited-strings remark-lint-->
* Use _Node.js_ and not _Node_, _NodeJS_, or similar variants.
* When referring to the executable, _`node`_ is acceptable.

See also API documentation structure overview in [doctools README][].

Expand Down
2 changes: 1 addition & 1 deletion doc/api/cli.md
Expand Up @@ -553,7 +553,7 @@ if they had been specified on the command line before the actual command line
(so they can be overridden). Node.js will exit with an error if an option
that is not allowed in the environment is used, such as `-p` or a script file.

Node options that are allowed are:
Node.js options that are allowed are:
- `--enable-fips`
- `--experimental-modules`
- `--experimental-repl-await`
Expand Down
2 changes: 1 addition & 1 deletion doc/api/documentation.md
Expand Up @@ -82,7 +82,7 @@ pages (short for manual pages) which describe how the syscalls work.

Most Unix syscalls have Windows equivalents, but behavior may differ on Windows
relative to Linux and macOS. For an example of the subtle ways in which it's
sometimes impossible to replace Unix syscall semantics on Windows, see [Node
sometimes impossible to replace Unix syscall semantics on Windows, see [Node.js
issue 4760](https://github.com/nodejs/node/issues/4760).

[`'warning'`]: process.html#process_event_warning
Expand Down
2 changes: 1 addition & 1 deletion doc/api/inspector.md
Expand Up @@ -144,7 +144,7 @@ session.post('Runtime.evaluate', { expression: '2 + 2' },
The latest version of the V8 inspector protocol is published on the
[Chrome DevTools Protocol Viewer][].

Node inspector supports all the Chrome DevTools Protocol domains declared
Node.js inspector supports all the Chrome DevTools Protocol domains declared
by V8. Chrome DevTools Protocol domain provides an interface for interacting
with one of the runtime agents used to inspect the application state and listen
to the run-time events.
Expand Down
5 changes: 3 additions & 2 deletions doc/api/modules.md
Expand Up @@ -376,8 +376,9 @@ Error: Cannot find module 'some-library'
If the module identifier passed to `require()` is not a
[core](#modules_core_modules) module, and does not begin with `'/'`, `'../'`, or
`'./'`, then Node.js starts at the parent directory of the current module, and
adds `/node_modules`, and attempts to load the module from that location. Node
will not append `node_modules` to a path already ending in `node_modules`.
adds `/node_modules`, and attempts to load the module from that location.
Node.js will not append `node_modules` to a path already ending in
`node_modules`.

If it is not found there, then it moves to the parent directory, and so
on, until the root of the file system is reached.
Expand Down
6 changes: 3 additions & 3 deletions doc/guides/node-postmortem-support.md
Expand Up @@ -15,8 +15,8 @@ Node.js always includes these constants in the final build.

### Node.js Debug Symbols

Node prefixes all postmortem constants with `nodedbg_`, and they complement V8
constants by providing ways to inspect Node-specific structures, like
Node.js prefixes all postmortem constants with `nodedbg_`, and they complement
V8 constants by providing ways to inspect Node.js-specific structures, like
`node::Environment`, `node::BaseObject` and its descendants, classes from
`src/utils.h` and others. Those constants are declared in
`src/node_postmortem_metadata.cc`, and most of them are calculated at compile
Expand Down Expand Up @@ -63,7 +63,7 @@ class ReqWrap : public AsyncWrap {
```

There are also tests on `test/cctest/test_node_postmortem_metadata.cc` to make
sure all Node postmortem metadata are calculated correctly.
sure all Node.js postmortem metadata are calculated correctly.

## Tools and References

Expand Down
6 changes: 3 additions & 3 deletions doc/node.1
Expand Up @@ -246,7 +246,7 @@ Evaluate
as JavaScript.
.
.It Fl h , Fl -help
Print node command line options.
Print Node.js command line options.
The output of this option is less detailed than this document.
.
.It Fl i , Fl -interactive
Expand All @@ -263,7 +263,7 @@ Preload the specified
at startup.
Follows `require()`'s module resolution rules.
.Ar module
may be either a path to a file, or a node module name.
may be either a path to a file, or a Node.js module name.
.
.It Fl v , Fl -version
Print node's version.
Expand Down Expand Up @@ -309,7 +309,7 @@ process warnings are silenced.
A space-separated list of command-line
.Ar options ,
which are interpreted as if they had been specified on the command-line before the actual command (so they can be overridden).
Node will exit with an error if an option that is not allowed in the environment is used, such as
Node.js will exit with an error if an option that is not allowed in the environment is used, such as
.Fl -print
or a script file.
.
Expand Down