Add tox target for building docs

This is useful for building the docs to verify changes to rst files are
formatted correctly.

Change-Id: Iac3feb50a575f670dd67fd5cd8dabce1a999d97c
This commit is contained in:
Matt Riedemann 2014-06-18 08:06:05 -07:00
parent 93fd3ecb39
commit 931b4a888b
1 changed files with 4 additions and 1 deletions

View File

@ -1,6 +1,6 @@
[tox]
minversion = 1.6
envlist = py26,py27,py33,pypy,pep8,functional
envlist = py26,py27,py33,pypy,pep8,functional,docs
skipsdist = True
[testenv]
@ -35,3 +35,6 @@ commands = python elastic_recheck/bot.py -f -n --noirc elasticRecheck.conf
ignore = E123,E125,H803
exclude=.venv,.git,.tox,dist,doc,*openstack/common*,*lib/python*,*egg,build
[testenv:docs]
commands = python setup.py build_sphinx