Fixed doc build
Fixed doc build by aligning Sphinx version with global OS requirements. Also added an entry for doc build to tox.ini. Change-Id: Icf411219a73d4f50640e404d6db5019f5483e7f9
This commit is contained in:
parent
20ad3eac30
commit
b0d72b74e5
@ -5,8 +5,11 @@ discover
|
|||||||
fixtures>=0.3.14
|
fixtures>=0.3.14
|
||||||
mock>=1.0
|
mock>=1.0
|
||||||
python-subunit
|
python-subunit
|
||||||
sphinx>=1.1.2
|
|
||||||
oslo.sphinx
|
oslo.sphinx
|
||||||
testrepository>=0.0.17
|
testrepository>=0.0.17
|
||||||
testscenarios>=0.4,<0.5
|
testscenarios>=0.4,<0.5
|
||||||
testtools>=0.9.32
|
testtools>=0.9.32
|
||||||
|
|
||||||
|
# Doc requirements
|
||||||
|
sphinx>=1.1.2,<1.2
|
||||||
|
sphinxcontrib-pecanwsme>=0.5
|
||||||
|
6
tox.ini
6
tox.ini
@ -23,6 +23,12 @@ commands = flake8
|
|||||||
[testenv:venv]
|
[testenv:venv]
|
||||||
commands = {posargs}
|
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]
|
[testenv:cover]
|
||||||
commands = python setup.py testr --coverage --testr-args='{posargs}'
|
commands = python setup.py testr --coverage --testr-args='{posargs}'
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user