Skip to content

Commit a86705c

Browse files
Trottmarco-ippolito
authored andcommitted
doc: replace "below" with "following"
Ref: https://learn.microsoft.com/en-us/style-guide/a-z-word-list-term-collections/b/below PR-URL: #52315 Refs: https://learn.microsoft.com/en-us/style-guide/a-z-word-list-term-collections/b/below Reviewed-By: Geoffrey Booth <webadmin@geoffreybooth.com> Reviewed-By: Moshe Atlow <moshe@atlow.co.il> Reviewed-By: Ulises Gascón <ulisesgascongonzalez@gmail.com> Reviewed-By: Trivikram Kamat <trivikr.dev@gmail.com> Reviewed-By: Luigi Pinca <luigipinca@gmail.com> Reviewed-By: Benjamin Gruenbaum <benjamingr@gmail.com> Reviewed-By: Tobias Nießen <tniessen@tnie.de>
1 parent 22b7167 commit a86705c

File tree

2 files changed

+5
-4
lines changed

2 files changed

+5
-4
lines changed

doc/api/addons.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -845,8 +845,8 @@ class MyObject : public node::ObjectWrap {
845845
```
846846

847847
In `myobject.cc`, implement the various methods that are to be exposed.
848-
Below, the method `plusOne()` is exposed by adding it to the constructor's
849-
prototype:
848+
In the following code, the method `plusOne()` is exposed by adding it to the
849+
constructor's prototype:
850850

851851
```cpp
852852
// myobject.cc

doc/api/modules.md

+3-2
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,8 @@ In this example, the variable `PI` is private to `circle.js`.
4242
The `module.exports` property can be assigned a new value (such as a function
4343
or object).
4444

45-
Below, `bar.js` makes use of the `square` module, which exports a Square class:
45+
In the following code, `bar.js` makes use of the `square` module, which exports
46+
a Square class:
4647

4748
```js
4849
const Square = require('./square.js');
@@ -123,7 +124,7 @@ enough to support reasonable directory structures. Package manager programs
123124
such as `dpkg`, `rpm`, and `npm` will hopefully find it possible to build
124125
native packages from Node.js modules without modification.
125126

126-
Below we give a suggested directory structure that could work:
127+
In the following, we give a suggested directory structure that could work:
127128

128129
Let's say that we wanted to have the folder at
129130
`/usr/lib/node/<some-package>/<some-version>` hold the contents of a

0 commit comments

Comments
 (0)