From d95bfca36e3bac322d50a905b8d52add9e9966dc Mon Sep 17 00:00:00 2001 From: Doug Hellmann Date: Fri, 8 Mar 2013 16:08:39 -0500 Subject: [PATCH] Add a tox target for building documentation Change-Id: I04cc4d3f5cf4c9d92144fef2a0ed3e3ac248679a Signed-off-by: Doug Hellmann --- tox.ini | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/tox.ini b/tox.ini index 8c21ef49d..5a35a020e 100644 --- a/tox.ini +++ b/tox.ini @@ -34,6 +34,12 @@ commands = python tools/hacking.py --ignore=E12,E711,E721,E712,N403,N404 --show-source \ --filename=ceilometer* bin +[testenv:docs] +deps = -r{toxinidir}/tools/test-requires + -r{toxinidir}/tools/pip-requires + sphinxcontrib-httpdomain +commands = python setup.py build_sphinx + [testenv:venv] deps = -r{toxinidir}/tools/test-requires -r{toxinidir}/tools/pip-requires