From 09c75a80eecab455aabe86b982e47abc0a234e6f Mon Sep 17 00:00:00 2001 From: Thomas Bechtold Date: Thu, 21 Aug 2014 15:52:26 +0200 Subject: [PATCH] Add specific docs build option to tox Now the documentation can be build in a clean virtual env with "tox -edocs". Change-Id: I0f2752f200caa21ad0f26e53df5c2757dd94c78a --- tox.ini | 3 +++ 1 file changed, 3 insertions(+) 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. # -- 2.45.2