summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorNed Batchelder <ned@nedbatchelder.com>2019-08-11 16:06:00 -0400
committerNed Batchelder <ned@nedbatchelder.com>2019-08-11 16:06:00 -0400
commitf2a778b3aa18de0bd43b1ba1a144d16faa53b8a2 (patch)
tree6b78e22c1f5a2e827bba40a33bd642c1e7b38f63 /Makefile
parent1a27df4c768e5a183ddd0f890d139996ffc52778 (diff)
downloadpython-coveragepy-git-f2a778b3aa18de0bd43b1ba1a144d16faa53b8a2.tar.gz
Improve doc tooling
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile10
1 files changed, 5 insertions, 5 deletions
diff --git a/Makefile b/Makefile
index 6dc0cce0..6810fdeb 100644
--- a/Makefile
+++ b/Makefile
@@ -114,21 +114,21 @@ uninstall:
# Documentation
-SPHINXBUILD = sphinx-build
+SPHINXBUILD = .tox/doc/bin/sphinx-build
SPHINXOPTS = -a -E doc
WEBHOME = ~/web/stellated/
WEBSAMPLE = $(WEBHOME)/files/sample_coverage_html
WEBSAMPLEBETA = $(WEBHOME)/files/sample_coverage_html_beta
docreqs:
- pip install -r doc/requirements.pip
+ tox -q -e doc --notest
-dochtml:
- PYTHONPATH=$(CURDIR) $(SPHINXBUILD) -b html $(SPHINXOPTS) doc/_build/html
+dochtml: docreqs
+ $(SPHINXBUILD) -b html $(SPHINXOPTS) doc/_build/html
@echo
@echo "Build finished. The HTML pages are in doc/_build/html."
-docspell:
+docspell: docreqs
$(SPHINXBUILD) -b spelling $(SPHINXOPTS) doc/_spell
publish: