diff --git a/docs/conf.py b/docs/conf.py index 92c02c62..d789848e 100644 --- a/docs/conf.py +++ b/docs/conf.py @@ -146,5 +146,19 @@ # ("py:class", "igraph.Graph"), ] +#def setup(app): +# app.warningiserror = on_rtd + def setup(app): - app.warningiserror = on_rtd + """App setup hook.""" + app.add_config_value( + "recommonmark_config", + { + "auto_toc_tree_section": "Contents", + "enable_auto_toc_tree": True, + "enable_math": True, + "enable_inline_math": False, + "enable_eval_rst": True, + }, + True, + )