Commit cf5b1de
committed
Changelog.md: put the 153.0 entry below the header, not above it
prepend_changelog prepended to the whole file, so the newest release
landed above the document title. Changelog.md opened with the 153.0
entry and only reached "# Changelog" on line 100.
The function now splits the file at the first "## [version]" heading and
only rewrites the entry list below it, leaving the title block where it
belongs. The header-only case is handled too, so the first entry ever
added to a fresh changelog also lands under the title rather than on top
of it.
The 153.0 entry was moved by restoring the file to its pre-153.0 state
and re-inserting through the fixed function, so this is the same text in
the right place: entry count and byte length are unchanged.1 parent ec6c7c5 commit cf5b1de
2 files changed
Lines changed: 32 additions & 10 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
182 | 182 | | |
183 | 183 | | |
184 | 184 | | |
| 185 | + | |
| 186 | + | |
| 187 | + | |
| 188 | + | |
| 189 | + | |
| 190 | + | |
| 191 | + | |
| 192 | + | |
| 193 | + | |
| 194 | + | |
| 195 | + | |
| 196 | + | |
| 197 | + | |
| 198 | + | |
| 199 | + | |
185 | 200 | | |
186 | 201 | | |
187 | 202 | | |
| |||
198 | 213 | | |
199 | 214 | | |
200 | 215 | | |
| 216 | + | |
| 217 | + | |
| 218 | + | |
201 | 219 | | |
202 | 220 | | |
203 | | - | |
204 | | - | |
| 221 | + | |
| 222 | + | |
205 | 223 | | |
206 | 224 | | |
207 | 225 | | |
| |||
213 | 231 | | |
214 | 232 | | |
215 | 233 | | |
216 | | - | |
| 234 | + | |
217 | 235 | | |
218 | | - | |
| 236 | + | |
| 237 | + | |
| 238 | + | |
| 239 | + | |
| 240 | + | |
219 | 241 | | |
220 | 242 | | |
221 | 243 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
1 | 7 | | |
2 | 8 | | |
3 | 9 | | |
| |||
97 | 103 | | |
98 | 104 | | |
99 | 105 | | |
100 | | - | |
101 | | - | |
102 | | - | |
103 | | - | |
104 | | - | |
105 | | - | |
106 | 106 | | |
107 | 107 | | |
108 | 108 | | |
| |||
0 commit comments