diff options
-rw-r--r-- | Makefile | 9 | ||||
-rw-r--r-- | doc/requirements.txt | 5 | ||||
-rw-r--r-- | requirements.txt | 5 |
3 files changed, 12 insertions, 7 deletions
@@ -80,17 +80,20 @@ SPHINXBUILD = sphinx-build SPHINXOPTS = -a -E doc WEBHOME = ~/web/stellated/pages/code/coverage -px: +docreqs: + pip install -r doc/requirements.txt + +px: docreqs $(SPHINXBUILD) -b px $(SPHINXOPTS) doc/_build/px rm doc/_build/px/search.px python doc/_ext/px_cleaner.py doc/_build/px/*.px -dochtml: +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: px diff --git a/doc/requirements.txt b/doc/requirements.txt new file mode 100644 index 00000000..3ae49210 --- /dev/null +++ b/doc/requirements.txt @@ -0,0 +1,5 @@ +# PyPI requirements for building documentation for coverage.py +pyenchant +sphinx +sphinxcontrib-napoleon +sphinxcontrib-spelling diff --git a/requirements.txt b/requirements.txt index 93a51d0e..5b19f9cc 100644 --- a/requirements.txt +++ b/requirements.txt @@ -1,8 +1,5 @@ +# PyPI requirements for running tests for coverage.py nose mock -pyenchant pylint -sphinx -sphinxcontrib-napoleon -sphinxcontrib-spelling tox >= 1.8 |