Skip to content

Commit 1cccc2d

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 25052dc commit 1cccc2d

File tree

3 files changed

+7
-7
lines changed

3 files changed

+7
-7
lines changed

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: v15.0.0
2323
changes:
2424
- version: v15.4.0

doc/api/packages.md

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

293293
### Subpath imports
294-
<!--YAML
294+
<!-- YAML
295295
added:
296296
- v14.6.0
297297
- v12.19.0
@@ -333,7 +333,7 @@ The resolution rules for the imports field are otherwise
333333
analogous to the exports field.
334334

335335
### Subpath patterns
336-
<!--YAML
336+
<!-- YAML
337337
added:
338338
- v14.13.0
339339
- v12.19.0
@@ -428,7 +428,7 @@ The benefit of patterns over folder exports is that packages can always be
428428
imported by consumers without subpath file extensions being necessary.
429429

430430
### Exports sugar
431-
<!--YAML
431+
<!-- YAML
432432
added: v12.11.0
433433
-->
434434

@@ -455,7 +455,7 @@ can be written:
455455
```
456456

457457
### Conditional exports
458-
<!--YAML
458+
<!-- YAML
459459
added:
460460
- v13.2.0
461461
- v12.16.0
@@ -630,7 +630,7 @@ The above definitions may be moved to a dedicated conditions registry in due
630630
course.
631631

632632
### Self-referencing a package using its name
633-
<!--YAML
633+
<!-- YAML
634634
added:
635635
- v13.1.0
636636
- v12.16.0

doc/api/worker_threads.md

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

281281
## `worker.setEnvironmentData(key[, value])`
282-
<!--YAML
282+
<!-- YAML
283283
added: v15.12.0
284284
-->
285285

0 commit comments

Comments
 (0)