mirror of
https://codeberg.org/openpgp/notes.git
synced 2024-11-26 17:42:06 +01:00
Configure sphinx to render numbering for figures in flat hierarchy
Signed-off-by: David Runge <dave@sleepmap.de>
This commit is contained in:
parent
5cb7b94950
commit
514bb02d3d
1 changed files with 5 additions and 0 deletions
|
@ -46,3 +46,8 @@ html_theme_options = {
|
|||
# we want to circumvent obscure warnings about footnotes following a heading:
|
||||
# https://github.com/executablebooks/MyST-Parser/issues/352
|
||||
myst_footnote_transition = False
|
||||
|
||||
# number code-blocks, figures and tables, if they have a caption
|
||||
numfig = True
|
||||
# number figures in flat hierarchy
|
||||
numfig_secnum_depth = 0
|
||||
|
|
Loading…
Reference in a new issue