Merge "Fixed doc build"

This commit is contained in:
Jenkins 2014-01-22 04:59:49 +00:00 committed by Gerrit Code Review
commit 2300b93e66
2 changed files with 10 additions and 1 deletions

View File

@ -5,8 +5,11 @@ discover
fixtures>=0.3.14
mock>=1.0
python-subunit
sphinx>=1.1.2
oslo.sphinx
testrepository>=0.0.17
testscenarios>=0.4,<0.5
testtools>=0.9.32
# Doc requirements
sphinx>=1.1.2,<1.2
sphinxcontrib-pecanwsme>=0.5

View File

@ -23,6 +23,12 @@ commands = flake8
[testenv:venv]
commands = {posargs}
[testenv:docs]
commands =
rm -rf doc/html doc/build
rm -rf doc/source/apidoc doc/source/api
python setup.py build_sphinx
[testenv:cover]
commands = python setup.py testr --coverage --testr-args='{posargs}'