Move MyST-parser configuration to its own section

Signed-off-by: David Runge <dave@sleepmap.de>
This commit is contained in:
David Runge 2023-11-24 10:52:18 +01:00
parent 34f94f7802
commit d7d34d4940
No known key found for this signature in database
GPG key ID: 90D4B9641E092971

View file

@ -29,6 +29,13 @@ numfig = True
# number figures in flat hierarchy # number figures in flat hierarchy
numfig_secnum_depth = 0 numfig_secnum_depth = 0
# -- Options for MyST-parser -------------------------------------------------
# https://myst-parser.readthedocs.io/en/latest/configuration.html
# we want to circumvent obscure warnings about footnotes following a heading:
# https://github.com/executablebooks/MyST-Parser/issues/352
myst_footnote_transition = False
# -- Options for EPUB output ------------------------------------------------- # -- Options for EPUB output -------------------------------------------------
# https://www.sphinx-doc.org/en/master/usage/configuration.html#options-for-epub-output # https://www.sphinx-doc.org/en/master/usage/configuration.html#options-for-epub-output
@ -52,7 +59,3 @@ html_theme_options = {
'show_relbars': 'yes', 'show_relbars': 'yes',
'show_powered_by': False, 'show_powered_by': False,
} }
# we want to circumvent obscure warnings about footnotes following a heading:
# https://github.com/executablebooks/MyST-Parser/issues/352
myst_footnote_transition = False