]> review.fuel-infra Code Review - openstack-build/cinder-build.git/commitdiff
Add specific docs build option to tox
authorThomas Bechtold <tbechtold@suse.com>
Thu, 21 Aug 2014 13:52:26 +0000 (15:52 +0200)
committerThomas Bechtold <tbechtold@suse.com>
Mon, 29 Dec 2014 08:35:18 +0000 (09:35 +0100)
Now the documentation can be build in a clean virtual env with "tox
-edocs".

Change-Id: I0f2752f200caa21ad0f26e53df5c2757dd94c78a

tox.ini

diff --git a/tox.ini b/tox.ini
index 6bc2e9ac81647f8d9a53f67e0f6c7547fce130bd..30b644e65fcc1f67addbfdb949a9db0d973d81b1 100644 (file)
--- a/tox.ini
+++ b/tox.ini
@@ -48,6 +48,9 @@ commands = {toxinidir}/tools/config/generate_sample.sh -b . -p cinder -o etc/cin
 [testenv:venv]
 commands = {posargs}
 
+[testenv:docs]
+commands = python setup.py build_sphinx
+
 [flake8]
 # Following checks are ignored on purpose.
 #