add docs target
--HG-- branch : parametrized-fixture-override
This commit is contained in:
parent
24fe051803
commit
81243657be
15
Makefile
15
Makefile
|
@ -1,13 +1,24 @@
|
|||
# create virtual environment
|
||||
# Set of targets useful for development/release process
|
||||
PYTHON = python2.7
|
||||
PATH := $(PWD)/.env/bin:$(PATH)
|
||||
|
||||
# prepare virtual python environment
|
||||
.env:
|
||||
virtualenv .env -p $(PYTHON)
|
||||
|
||||
# install all needed for development
|
||||
develop: .env
|
||||
.env/bin/pip install -e . tox
|
||||
pip install -e . tox -r requirements-docs.txt
|
||||
|
||||
# clean the development envrironment
|
||||
clean:
|
||||
-rm -rf .env
|
||||
|
||||
# generate documentation
|
||||
docs: develop
|
||||
cd doc/en; make html
|
||||
find doc/en/ -name '*.txt' | xargs .env/bin/regendoc
|
||||
|
||||
# upload documentation
|
||||
upload-docs: develop
|
||||
cd doc/en; make install
|
||||
|
|
|
@ -0,0 +1,2 @@
|
|||
sphinx==1.2.3
|
||||
hg+ssh://hg@bitbucket.org/RonnyPfannschmidt/regendoc#egg=regendoc
|
Loading…
Reference in New Issue