Commit ade74fd
authored
build: add --add-version-header flag to build_changelog.py (#1179)
Add optional flag to prepend version header and adjust heading levels,
useful for projects that want to include changelogs in their docs with
proper heading hierarchy.
When enabled:
- Adds '# vX.Y.Z' header at the top
- Adjusts '# Contributors' to '## Contributors'
- Adjusts '# Changelog' to '## Changelog'
This keeps the default behavior unchanged while allowing docs-oriented
projects (like gptme) to generate properly formatted release notes.1 parent bd4c5e6 commit ade74fd
1 file changed
+13
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
63 | 63 | | |
64 | 64 | | |
65 | 65 | | |
| 66 | + | |
| 67 | + | |
| 68 | + | |
| 69 | + | |
| 70 | + | |
66 | 71 | | |
67 | 72 | | |
68 | 73 | | |
| |||
88 | 93 | | |
89 | 94 | | |
90 | 95 | | |
| 96 | + | |
91 | 97 | | |
92 | 98 | | |
93 | 99 | | |
| |||
352 | 358 | | |
353 | 359 | | |
354 | 360 | | |
| 361 | + | |
355 | 362 | | |
356 | 363 | | |
357 | 364 | | |
| |||
423 | 430 | | |
424 | 431 | | |
425 | 432 | | |
| 433 | + | |
| 434 | + | |
| 435 | + | |
| 436 | + | |
| 437 | + | |
| 438 | + | |
426 | 439 | | |
427 | 440 | | |
428 | 441 | | |
| |||
0 commit comments