Commits

jason kirtland committed b1d4043

Added sphinx coverage extension.

Comments (0)

Files changed (3)

 html
 junk
 *.swp
-docs/html
+docs/coverage
 docs/doctrees
 docs/doctest
+docs/html
 docs/pickles
 docs/source/_static
 docs/source/_template

docs/source/Makefile

 	@echo "  doctest   to run doctests"
 
 clean:
-	for i in doctrees html text doctest pickles website; do \
+	for i in doctrees html text doctest pickles website coverage; do \
 	    rm -rf ../$$i; \
         done
 
 	mkdir -p ../doctrees ../doctest
 	$(SPHINXBUILD) -b doctest $(ALLSPHINXOPTS) ../doctest
 
+coverage:
+	mkdir -p ../coverage ../doctrees
+	$(SPHINXBUILD) -b coverage $(ALLSPHINXOPTS) ../coverage
+
 pickles:
 	mkdir -p ../pickles ../doctest
 	$(SPHINXBUILD) -b pickle $(ALLSPHINXOPTS) ../pickles

docs/source/conf.py

 # 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.doctest',
+              'sphinx.ext.coverage',
               'sphinx.ext.inheritance_diagram']
 
 html_theme_path = ['.']