Repository navigation
Commit 705703d
committed
docs: render markdown headings relative to their section
sphinx-markdown-builder pins rubric and option/signature headings to
level 3 while section titles use their absolute nesting depth. Nested
sphinx-click and sphinxcontrib-autoprogram sections therefore jump from
level 3 to 5 in the generated markdown, which the aggregated docs reject
(gldq HEAD-SKIP).
Override the markdown translator so those headings are rendered one
level below the enclosing section, keeping the API class/method layout
unchanged.
Signed-off-by: Eike Waldt <waldt@b1-systems.de>
On-behalf-of: SAP <eike.waldt@sap.com>
Assisted-by: Kilo:claude-sonnet-4-61 parent e7e6d8a commit 705703d
1 file changed
Lines changed: 40 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
1 | 3 | | |
2 | 4 | | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
3 | 42 | | |
4 | 43 | | |
5 | 44 | | |
| |||
61 | 100 | | |
62 | 101 | | |
63 | 102 | | |
| 103 | + | |
0 commit comments