Skip to content

Commit

Permalink
fix read the docs
Browse files Browse the repository at this point in the history
  • Loading branch information
Intron7 authored Feb 5, 2023
1 parent 601cb7b commit ee66bdc
Showing 1 changed file with 15 additions and 1 deletion.
16 changes: 15 additions & 1 deletion docs/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -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,
)

0 comments on commit ee66bdc

Please sign in to comment.