]> review.fuel-infra Code Review - openstack-build/neutron-build.git/commitdiff
Add specific docs build option to tox
authorThomas Bechtold <tbechtold@suse.com>
Thu, 21 Aug 2014 19:24:51 +0000 (21:24 +0200)
committerThomas Bechtold <tbechtold@suse.com>
Thu, 21 Aug 2014 19:31:00 +0000 (21:31 +0200)
Add doc venv to align with other OpenStack projects (such as keystone,
heat and nova) who are using 'docs' for there doc builds.

Change-Id: I0094130224ec2667cdd76f497edf595f09a86d12

tox.ini

diff --git a/tox.ini b/tox.ini
index da3ebf1b35f434f481c2b6efde4526242bd98731..f9383430f660a8562ad984cc6c0b2f821e0e1163 100644 (file)
--- a/tox.ini
+++ b/tox.ini
@@ -55,6 +55,9 @@ commands =
 [testenv:venv]
 commands = {posargs}
 
+[testenv:docs]
+commands = python setup.py build_sphinx
+
 [flake8]
 # E125 continuation line does not distinguish itself from next logical line
 # E126 continuation line over-indented for hanging indent