Skip to content

Commit 65feec3

Browse files
cjihrigRafaelGSS
authored andcommitted
doc: replace NOTEs that do not render properly
This commit removes two NOTEs that render properly in the GitHub web interface, but not on the Node.js docs website. PR-URL: #57484 Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com> Reviewed-By: Marco Ippolito <marcoippolito54@gmail.com> Reviewed-By: Xuguang Mei <meixuguang@gmail.com> Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
1 parent e2a628d commit 65feec3

File tree

2 files changed

+7
-11
lines changed

2 files changed

+7
-11
lines changed

doc/api/cli.md

Lines changed: 4 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -928,14 +928,10 @@ added: v23.10.0
928928

929929
> Stability: 1.0 - Early development
930930
931-
If present, Node.js will look for a
932-
configuration file at the specified path.
933-
Node.js will read the configuration file and apply the settings.
934-
The configuration file should be a JSON file
935-
with the following structure:
936-
937-
> \[!NOTE]
938-
> Replace `vX.Y.Z` in the `$schema` with the version of Node.js you are using.
931+
If present, Node.js will look for a configuration file at the specified path.
932+
Node.js will read the configuration file and apply the settings. The
933+
configuration file should be a JSON file with the following structure. `vX.Y.Z`
934+
in the `$schema` must be replaced with the version of Node.js you are using.
939935

940936
```json
941937
{

doc/api/typescript.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -91,9 +91,9 @@ but we recommend version 5.8 or newer with the following `tsconfig.json` setting
9191
}
9292
```
9393

94-
> \[!NOTE]
95-
> Use the `noEmit` option if you intend to only execute `*.ts` files, for example a build script.
96-
> You won't need this flag if you intend to distribute `*.js` files.
94+
Use the `noEmit` option if you intend to only execute `*.ts` files, for example
95+
a build script. You won't need this flag if you intend to distribute `*.js`
96+
files.
9797

9898
### Determining module system
9999

0 commit comments

Comments
 (0)