Follow the new PTI for document build
For compliance with the Project Testing Interface as described in: https://governance.openstack.org/tc/reference/project-testing-interface.html For more detials information, please refer to: http://lists.openstack.org/pipermail/openstack-dev/2017-December/125710.html Change-Id: I328db3d0048386ddd2c4f785de542aeb7b98c6e1
This commit is contained in:
parent
958e6ff4c2
commit
f36f0fcdb7
@ -78,9 +78,3 @@ doc =
|
||||
|
||||
[wheel]
|
||||
universal = 1
|
||||
|
||||
[build_sphinx]
|
||||
all_files = 1
|
||||
build-dir = doc/build
|
||||
source-dir = doc/source
|
||||
warning-is-error = 1
|
||||
|
2
tox.ini
2
tox.ini
@ -45,7 +45,7 @@ commands = python setup.py testr --slowest --coverage --testr-args="{posargs}"
|
||||
|
||||
[testenv:docs]
|
||||
deps = -r{toxinidir}/doc/requirements.txt
|
||||
commands = python setup.py build_sphinx
|
||||
commands = sphinx-build -W -b html doc/source doc/build/html
|
||||
|
||||
[testenv:pep8]
|
||||
deps = hacking<0.13,>=0.12
|
||||
|
Loading…
Reference in New Issue
Block a user