diff --git a/book/source/conf.py b/book/source/conf.py index abacb6f..26f49db 100644 --- a/book/source/conf.py +++ b/book/source/conf.py @@ -24,6 +24,11 @@ source_suffix = ['.md', '.rst'] templates_path = ['_templates'] exclude_patterns = [] +# number code-blocks, figures and tables, if they have a caption +numfig = True +# number figures in flat hierarchy +numfig_secnum_depth = 0 + # -- Options for EPUB output ------------------------------------------------- # https://www.sphinx-doc.org/en/master/usage/configuration.html#options-for-epub-output @@ -51,8 +56,3 @@ 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