Skip to content

Commit 95b9cc7

Browse files
jaydenserictargos
authored andcommitted
doc: fix YAML comment opening tags
Several YAML documentation comments incorrectly started with `<!--YAML` instead of `<!-- YAML`, resulting in their content missing in the rendered documentation. PR-URL: #38324 Reviewed-By: Richard Lau <[email protected]> Reviewed-By: Luigi Pinca <[email protected]> Reviewed-By: Antoine du Hamel <[email protected]> Reviewed-By: Darshan Sen <[email protected]>
1 parent c4686fa commit 95b9cc7

File tree

4 files changed

+8
-8
lines changed

4 files changed

+8
-8
lines changed

doc/api/cli.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -166,7 +166,7 @@ Affects the default output directory of:
166166
* [--redirect-warnings](#cli_redirect_warnings_file)
167167

168168
### `--disable-proto=mode`
169-
<!--YAML
169+
<!-- YAML
170170
added: v13.12.0
171171
-->
172172

doc/api/globals.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ that are part of the JavaScript language itself, which are also globally
1818
accessible.
1919

2020
## Class: `AbortController`
21-
<!--YAML
21+
<!-- YAML
2222
added: v14.17.0
2323
-->
2424

doc/api/packages.md

+5-5
Original file line numberDiff line numberDiff line change
@@ -290,7 +290,7 @@ import submodule from 'es-module-package/private-module.js';
290290
```
291291

292292
### Subpath imports
293-
<!--YAML
293+
<!-- YAML
294294
added:
295295
- v14.6.0
296296
- v12.19.0
@@ -332,7 +332,7 @@ The resolution rules for the imports field are otherwise
332332
analogous to the exports field.
333333

334334
### Subpath patterns
335-
<!--YAML
335+
<!-- YAML
336336
added:
337337
- v14.13.0
338338
- v12.20.0
@@ -406,7 +406,7 @@ import featureX from 'es-module-package/features/x';
406406
```
407407

408408
### Exports sugar
409-
<!--YAML
409+
<!-- YAML
410410
added: v12.11.0
411411
-->
412412

@@ -433,7 +433,7 @@ can be written:
433433
```
434434

435435
### Conditional exports
436-
<!--YAML
436+
<!-- YAML
437437
added:
438438
- v13.2.0
439439
- v12.16.0
@@ -608,7 +608,7 @@ The above definitions may be moved to a dedicated conditions registry in due
608608
course.
609609

610610
### Self-referencing a package using its name
611-
<!--YAML
611+
<!-- YAML
612612
added:
613613
- v13.1.0
614614
- v12.16.0

doc/api/worker_threads.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -273,7 +273,7 @@ new Worker('process.env.SET_IN_WORKER = "foo"', { eval: true, env: SHARE_ENV })
273273
```
274274

275275
## `worker.setEnvironmentData(key[, value])`
276-
<!--YAML
276+
<!-- YAML
277277
added: REPLACEME
278278
-->
279279

0 commit comments

Comments
 (0)