jason kirtland avatar 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 = ['.']
Tip: Filter by directory path e.g. /media app.js to search for public/media/app.js.
Tip: Use camelCasing e.g. ProjME to search for ProjectModifiedEvent.java.
Tip: Filter by extension type e.g. /repo .js to search for all .js files in the /repo directory.
Tip: Separate your search with spaces e.g. /ssh pom.xml to search for src/ssh/pom.xml.
Tip: Use ↑ and ↓ arrow keys to navigate and return to view the file.
Tip: You can also navigate files with Ctrl+j (next) and Ctrl+k (previous) and view the file with Ctrl+o.
Tip: You can also navigate files with Alt+j (next) and Alt+k (previous) and view the file with Alt+o.