diff --git a/doc/conf.py b/doc/conf.py index 6c278228a..b404a45bf 100644 --- a/doc/conf.py +++ b/doc/conf.py @@ -91,6 +91,8 @@ # The name of the Pygments (syntax highlighting) style to use. pygments_style = 'sphinx' +# Avoid '+DOCTEST...' comments in the docs +trim_doctest_flags = True # Options for HTML output # -----------------------