Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit c5ad2be

Browse filesBrowse files
committed
tools: fix small inconsistencies in JSON doc output
PR-URL: #61757 Reviewed-By: Claudio Wunder <cwunder@gnome.org> Reviewed-By: Chengzhong Wu <legendecas@gmail.com> Reviewed-By: Aviv Keller <me@aviv.sh>
1 parent b572492 commit c5ad2be
Copy full SHA for c5ad2be

3 files changed

+6-5Lines changed: 6 additions & 5 deletions

File tree

Expand file treeCollapse file tree
Open diff view settings
Filter options
Expand file treeCollapse file tree
Open diff view settings
Collapse file

‎doc/api/report.md‎

Copy file name to clipboardExpand all lines: doc/api/report.md
+2-2Lines changed: 2 additions & 2 deletions
  • Display the source diff
  • Display the rich diff
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,6 @@
44

55
<!-- type=misc -->
66

7-
> Stability: 2 - Stable
8-
97
<!-- name=report -->
108

119
<!-- YAML
@@ -22,6 +20,8 @@ changes:
2220
description: Added `--report-exclude-network` option for excluding networking operations that can slow down report generation in some cases.
2321
-->
2422

23+
> Stability: 2 - Stable
24+
2525
Delivers a JSON-formatted diagnostic summary, written to a file.
2626

2727
The report is intended for development, test, and production use, to capture
Collapse file

‎doc/api/synopsis.md‎

Copy file name to clipboardExpand all lines: doc/api/synopsis.md
+2-2Lines changed: 2 additions & 2 deletions
  • Display the source diff
  • Display the rich diff
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
11
# Usage and example
22

3-
## Usage
4-
53
<!--introduced_in=v0.10.0-->
64

75
<!--type=misc-->
86

7+
## Usage
8+
99
`node [options] [V8 options] [script.js | -e "script" | - ] [arguments]`
1010

1111
Please see the [Command-line options][] document for more information.
Collapse file

‎test/doctool/test-doc-api-json.mjs‎

Copy file name to clipboardExpand all lines: test/doctool/test-doc-api-json.mjs
+2-1Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -152,7 +152,8 @@ for await (const dirent of await fs.opendir(new URL('../../out/doc/api/', import
152152
'n-api.md': ['introduced_in', 'stability', 'stabilityText', 'miscs'],
153153
'packages.md': ['introduced_in', 'meta', 'miscs'],
154154
'process.md': ['globals'],
155-
'report.md': ['introduced_in', 'stability', 'stabilityText', 'meta', 'miscs'],
155+
'report.md': ['introduced_in', 'meta', 'stability', 'stabilityText', 'miscs'],
156+
'synopsis.md': ['introduced_in', 'miscs'],
156157
}[dirent.name] ?? ['modules'])]);
157158

158159
assert.partialDeepStrictEqual(allExpectedKeys, findAllKeys(json));

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.