Add a tox job for generating docs
Add a tox job to make it easier for developers to generate their own docs before submitting a patch. Change-Id: I9c53ce664b164003fe42ed03d1f850d954bf0971
This commit is contained in:
parent
6eb45625e5
commit
e78762152c
|
@ -10,6 +10,7 @@ ChangeLog
|
||||||
run_tests.err.log
|
run_tests.err.log
|
||||||
.tox
|
.tox
|
||||||
doc/source/api
|
doc/source/api
|
||||||
|
doc/build
|
||||||
*.egg
|
*.egg
|
||||||
heatclient/versioninfo
|
heatclient/versioninfo
|
||||||
*.egg-info
|
*.egg-info
|
||||||
|
|
4
tox.ini
4
tox.ini
|
@ -24,6 +24,10 @@ commands = {posargs}
|
||||||
[testenv:cover]
|
[testenv:cover]
|
||||||
commands = python setup.py testr --coverage --testr-args='{posargs}'
|
commands = python setup.py testr --coverage --testr-args='{posargs}'
|
||||||
|
|
||||||
|
[testenv:docs]
|
||||||
|
commands=
|
||||||
|
python setup.py build_sphinx
|
||||||
|
|
||||||
[tox:jenkins]
|
[tox:jenkins]
|
||||||
downloadcache = ~/cache/pip
|
downloadcache = ~/cache/pip
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue