From: Thomas Bechtold Date: Thu, 21 Aug 2014 13:52:26 +0000 (+0200) Subject: Add specific docs build option to tox X-Git-Url: https://review.fuel-infra.org/gitweb?a=commitdiff_plain;h=09c75a80eecab455aabe86b982e47abc0a234e6f;p=openstack-build%2Fcinder-build.git Add specific docs build option to tox Now the documentation can be build in a clean virtual env with "tox -edocs". Change-Id: I0f2752f200caa21ad0f26e53df5c2757dd94c78a --- diff --git a/tox.ini b/tox.ini index 6bc2e9ac8..30b644e65 100644 --- 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. #