Commit ea13763
tools: allow multiple added: version entries
Allow multiple `added:` version entries, since semver-minors
can trickle down to previous major versions, and thus
features may have been added in multiple versions.
Also include `deprecated:` entries and apply the same logic
to them for consistency.
Stylize the added HTML as `Added in:` and `Deprecated since:`.
PR-URL: #6495
Reviewed-By: Robert Jefe Lindstaedt <robert.lindstaedt@gmail.com>
Reviewed-By: James M Snell <jasnell@gmail.com>
Reviewed-By: Jeremiah Senkpiel <fishrock123@rocketmail.com>1 parent 8f76d7d commit ea13763Copy full SHA for ea13763
File tree
Expand file treeCollapse file tree
5 files changed
+58
-11
lines changedOpen diff view settings
Filter options
- test
- doctool
- fixtures
- tools/doc
Expand file treeCollapse file tree
5 files changed
+58
-11
lines changedOpen diff view settings
Collapse file
test/doctool/test-doctool-html.js
Copy file name to clipboardExpand all lines: test/doctool/test-doctool-html.js+7-2Lines changed: 7 additions & 2 deletions
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
34 | 34 | |
35 | 35 | |
36 | 36 | |
37 | | - |
| 37 | + |
38 | 38 | |
| 39 | + |
| 40 | + |
| 41 | + |
| 42 | + |
39 | 43 | |
40 | 44 | |
41 | 45 | |
42 | | - |
| 46 | + |
| 47 | + |
43 | 48 | |
44 | 49 | |
45 | 50 | |
|
Collapse file
test/doctool/test-doctool-json.js
Copy file name to clipboardExpand all lines: test/doctool/test-doctool-json.js+14-3Lines changed: 14 additions & 3 deletions
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
78 | 78 | |
79 | 79 | |
80 | 80 | |
81 | | - |
| 81 | + |
82 | 82 | |
83 | 83 | |
84 | 84 | |
85 | 85 | |
86 | 86 | |
87 | 87 | |
| 88 | + |
| 89 | + |
| 90 | + |
| 91 | + |
| 92 | + |
| 93 | + |
| 94 | + |
| 95 | + |
| 96 | + |
| 97 | + |
| 98 | + |
88 | 99 | |
89 | 100 | |
90 | 101 | |
91 | 102 | |
92 | | - |
93 | | - |
| 103 | + |
| 104 | + |
94 | 105 | |
95 | 106 | |
96 | 107 | |
|
Collapse file
test/fixtures/doc_with_yaml.md
Copy file name to clipboardExpand all lines: test/fixtures/doc_with_yaml.md+9Lines changed: 9 additions & 0 deletions
- Display the source diff
- Display the rich diff
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
7 | 7 | |
8 | 8 | |
9 | 9 | |
| 10 | + |
| 11 | + |
| 12 | + |
| 13 | + |
| 14 | + |
| 15 | + |
| 16 | + |
| 17 | + |
| 18 | + |
10 | 19 | |
11 | 20 | |
12 | 21 | |
|
Collapse file
+20-1Lines changed: 20 additions & 1 deletion
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
8 | 8 | |
9 | 9 | |
10 | 10 | |
| 11 | + |
| 12 | + |
| 13 | + |
| 14 | + |
11 | 15 | |
12 | 16 | |
13 | 17 | |
14 | 18 | |
15 | 19 | |
16 | 20 | |
17 | 21 | |
18 | | - |
| 22 | + |
| 23 | + |
| 24 | + |
| 25 | + |
| 26 | + |
| 27 | + |
| 28 | + |
| 29 | + |
| 30 | + |
| 31 | + |
| 32 | + |
| 33 | + |
| 34 | + |
| 35 | + |
| 36 | + |
| 37 | + |
19 | 38 | |
20 | 39 | |
21 | 40 | |
Collapse file
+8-5Lines changed: 8 additions & 5 deletions
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
180 | 180 | |
181 | 181 | |
182 | 182 | |
183 | | - |
| 183 | + |
184 | 184 | |
185 | | - |
186 | | - |
| 185 | + |
| 186 | + |
| 187 | + |
187 | 188 | |
188 | | - |
| 189 | + |
| 190 | + |
189 | 191 | |
190 | 192 | |
191 | | - |
| 193 | + |
| 194 | + |
192 | 195 | |
193 | 196 | |
194 | 197 | |
|
0 commit comments