X-Git-Url: http://gitweb.michael.orlitzky.com/?a=blobdiff_plain;f=doc%2Fsource%2Fconf.py;h=511b8210aa8e6fa4cbe465a1c107ac25de4f5a1d;hb=843d46c5be5605d071f17481c48ed0cb7f5acbaf;hp=62ac53045f9af61001520f56e891484f83bbda3d;hpb=788291920a447be16af9f330973816b6ca56c7b0;p=dunshire.git diff --git a/doc/source/conf.py b/doc/source/conf.py index 62ac530..511b821 100644 --- a/doc/source/conf.py +++ b/doc/source/conf.py @@ -8,20 +8,23 @@ import shlex # add these directories to sys.path here. If the directory is relative to the # documentation root, use os.path.abspath to make it absolute, like shown here. sys.path.insert(0, os.path.abspath('../../src/')) -sys.path.insert(0, os.path.abspath('../../src/dunshire')) # Add any Sphinx extension module names here, as strings. They can be # extensions coming with Sphinx (named 'sphinx.ext.*') or your custom # ones. extensions = [ 'sphinx.ext.autodoc', - 'sphinx.ext.autosummary', - 'sphinx.ext.coverage', - 'sphinx.ext.pngmath', + 'sphinx.ext.doctest', + 'sphinx.ext.mathjax', + 'sphinx.ext.napoleon', '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: