Commit 14d5df1
authored
docs: Generate permanent links to numbered headings (#1083)
make_id from docutils removes leading digits from IDs, which makes it
impossible to have permanent links to numbered headings. We prefix IDs
which start with a digit with "id-" before passing it to make_id to make
permanent links work.1 parent e09bb92 commit 14d5df1
1 file changed
+15
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
25 | 25 | | |
26 | 26 | | |
27 | 27 | | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
28 | 43 | | |
29 | 44 | | |
30 | 45 | | |
| |||
0 commit comments