summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSteve Martinelli <stevemar@ca.ibm.com>2014-07-24 18:07:44 -0400
committerSteve Martinelli <stevemar@ca.ibm.com>2014-07-24 18:08:03 -0400
commite78762152c26e9b010b56aaa66b85aa59b8cd07e (patch)
tree45da2b58cbf73bbe811d2954fd964ad5c784cd43
parent6eb45625e584f410fdb33d82c63916750650505d (diff)
downloadpython-heatclient-e78762152c26e9b010b56aaa66b85aa59b8cd07e.tar.gz
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
-rw-r--r--.gitignore1
-rw-r--r--tox.ini4
2 files changed, 5 insertions, 0 deletions
diff --git a/.gitignore b/.gitignore
index a03c841..ea9789f 100644
--- a/.gitignore
+++ b/.gitignore
@@ -10,6 +10,7 @@ ChangeLog
run_tests.err.log
.tox
doc/source/api
+doc/build
*.egg
heatclient/versioninfo
*.egg-info
diff --git a/tox.ini b/tox.ini
index d18f1fd..c23bf85 100644
--- a/tox.ini
+++ b/tox.ini
@@ -24,6 +24,10 @@ commands = {posargs}
[testenv:cover]
commands = python setup.py testr --coverage --testr-args='{posargs}'
+[testenv:docs]
+commands=
+ python setup.py build_sphinx
+
[tox:jenkins]
downloadcache = ~/cache/pip