add docs job to tox.ini

Create a job so you can build documentation locally

Change-Id: Ie86f3463acd95dc2b8acc0849193cc2157991996
This commit is contained in:
Steve Martinelli 2014-08-28 11:29:01 -04:00
parent 650ee38a6b
commit c65d3551e7
1 changed files with 4 additions and 1 deletions

View File

@ -21,6 +21,9 @@ commands = {posargs}
[testenv:cover]
commands = python setup.py testr --coverage --testr-args='{posargs}'
[testenv:docs]
commands = python setup.py build_sphinx
[flake8]
# H803 skipped on purpose per list discussion.
# E123, E125 skipped as they are invalid PEP-8.
@ -28,4 +31,4 @@ commands = python setup.py testr --coverage --testr-args='{posargs}'
show-source = True
ignore = E123,E125,H803
builtins = _
exclude=.venv,.git,.tox,dist,doc,*openstack/common*,*lib/python*,*egg,build
exclude=.venv,.git,.tox,dist,doc,*openstack/common*,*lib/python*,*egg,build