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:
parent
93fd3ecb39
commit
931b4a888b
5
tox.ini
5
tox.ini
@ -1,6 +1,6 @@
|
|||||||
[tox]
|
[tox]
|
||||||
minversion = 1.6
|
minversion = 1.6
|
||||||
envlist = py26,py27,py33,pypy,pep8,functional
|
envlist = py26,py27,py33,pypy,pep8,functional,docs
|
||||||
skipsdist = True
|
skipsdist = True
|
||||||
|
|
||||||
[testenv]
|
[testenv]
|
||||||
@ -35,3 +35,6 @@ commands = python elastic_recheck/bot.py -f -n --noirc elasticRecheck.conf
|
|||||||
|
|
||||||
ignore = E123,E125,H803
|
ignore = E123,E125,H803
|
||||||
exclude=.venv,.git,.tox,dist,doc,*openstack/common*,*lib/python*,*egg,build
|
exclude=.venv,.git,.tox,dist,doc,*openstack/common*,*lib/python*,*egg,build
|
||||||
|
|
||||||
|
[testenv:docs]
|
||||||
|
commands = python setup.py build_sphinx
|
||||||
|
Loading…
x
Reference in New Issue
Block a user