Add a tox target for building documentation

Change-Id: I04cc4d3f5cf4c9d92144fef2a0ed3e3ac248679a
Signed-off-by: Doug Hellmann <doug.hellmann@dreamhost.com>
This commit is contained in:
Doug Hellmann 2013-03-08 16:08:39 -05:00
parent 3aee249059
commit d95bfca36e

View File

@ -34,6 +34,12 @@ commands =
python tools/hacking.py --ignore=E12,E711,E721,E712,N403,N404 --show-source \ python tools/hacking.py --ignore=E12,E711,E721,E712,N403,N404 --show-source \
--filename=ceilometer* bin --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] [testenv:venv]
deps = -r{toxinidir}/tools/test-requires deps = -r{toxinidir}/tools/test-requires
-r{toxinidir}/tools/pip-requires -r{toxinidir}/tools/pip-requires