extensions = [
'sphinx.ext.autodoc',
'sphinx.ext.autosummary',
- 'sphinx.ext.coverage',
+ 'sphinx.ext.doctest',
'sphinx.ext.napoleon',
'sphinx.ext.pngmath',
'sphinx.ext.viewcode',
autosummary_generate = True
+# Don't automatically test every >>> block in the documentation. This
+# avoids testing the API docs as part of the documentation build,
+# which is exactly what we intend, because those are tested as part of
+# the (much faster) unittest test suite.
+doctest_test_doctest_blocks = ''
+
# The suffix(es) of source filenames.
# You can specify multiple suffix as a list of string:
# source_suffix = ['.rst', '.md']