| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
1 parent fae759f commit fe337bf
42 files changed
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -8,9 +8,10 @@ PYTHON = python2.5 | |||
| 8 | 8 | SVNROOT = http://svn.python.org/projects | |
| 9 | 9 | SPHINXOPTS = | |
| 10 | 10 | PAPER = | |
| 11 | + SOURCES = | ||
| 11 | 12 | ||
| 12 | 13 | ALLSPHINXOPTS = -b $(BUILDER) -d build/doctrees -D latex_paper_size=$(PAPER) \ | |
| 13 | - $(SPHINXOPTS) . build/$(BUILDER) | ||
| 14 | + $(SPHINXOPTS) . build/$(BUILDER) $(SOURCES) | ||
| 14 | 15 | ||
| 15 | 16 | .PHONY: help checkout update build html web htmlhelp clean coverage | |
| 16 | 17 | ||
@@ -82,6 +83,11 @@ coverage: BUILDER = coverage | |||
| 82 | 83 | coverage: build | |
| 83 | 84 | @echo "Coverage finished; see c.txt and python.txt in build/coverage" | |
| 84 | 85 | ||
| 86 | + doctest: BUILDER = doctest | ||
| 87 | + doctest: build | ||
| 88 | + @echo "Testing of doctests in the sources finished, look at the " \ | ||
| 89 | + "results in build/doctest/output.txt" | ||
| 90 | + | ||
| 85 | 91 | clean: | |
| 86 | 92 | -rm -rf build/* | |
| 87 | 93 | -rm -rf tools/sphinx | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -13,7 +13,8 @@ | |||
| 13 | 13 | # General configuration | |
| 14 | 14 | # --------------------- | |
| 15 | 15 | ||
| 16 | - extensions = ['sphinx.ext.refcounting', 'sphinx.ext.coverage'] | ||
| 16 | + extensions = ['sphinx.ext.refcounting', 'sphinx.ext.coverage', | ||
| 17 | + 'sphinx.ext.doctest'] | ||
| 17 | 18 | templates_path = ['tools/sphinxext'] | |
| 18 | 19 | ||
| 19 | 20 | # General substitutions. | |
| Back | FazBrowse Home | New Git URL |
0 commit comments