mirror of
https://github.com/nodejs/node.git
synced 2024-11-29 15:06:33 +01:00
doc: add "Be direct." to the style guide
I've been doing a lot of work on-and-off to reduce unnecessary wordiness in our docs. Codify it in the style guide. PR-URL: https://github.com/nodejs/node/pull/30935 Reviewed-By: David Carlier <devnexen@gmail.com> Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de> Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: Luigi Pinca <luigipinca@gmail.com> Reviewed-By: Trivikram Kamat <trivikr.dev@gmail.com> Reviewed-By: James M Snell <jasnell@gmail.com>
This commit is contained in:
parent
ba29e270f3
commit
3743fe1955
@ -55,10 +55,15 @@
|
||||
* OK: JavaScript, Google's V8
|
||||
<!--lint disable prohibited-strings remark-lint-->
|
||||
* NOT OK: Javascript, Google's v8
|
||||
|
||||
* Use _Node.js_ and not _Node_, _NodeJS_, or similar variants.
|
||||
<!-- lint enable prohibited-strings remark-lint-->
|
||||
* When referring to the executable, _`node`_ is acceptable.
|
||||
* Be direct.
|
||||
* OK: The return value is a string.
|
||||
<!-- lint disable prohibited-strings remark-lint-->
|
||||
* NOT OK: It is important to note that, in all cases, the return value will be
|
||||
a string regardless.
|
||||
<!-- lint enable prohibited-strings remark-lint-->
|
||||
|
||||
See also API documentation structure overview in [doctools README][].
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user