From ee66bdc8fba97ca703b4b28318c5fbad3f87f2c2 Mon Sep 17 00:00:00 2001 From: Severin Dicks <37635888+Intron7@users.noreply.github.com> Date: Sun, 5 Feb 2023 19:50:04 +0100 Subject: [PATCH] fix read the docs --- docs/conf.py | 16 +++++++++++++++- 1 file changed, 15 insertions(+), 1 deletion(-) 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, + )