Use upper-constraint in doc generation
Currently doc jobs are broken because the latest sphinx 7.2.0 is not compatible with the latest release of openstackdocstheme. This updates the docs/releasenotes target to use the global upper constraints to avoid that issue. Change-Id: I075240f47e4de34182a0fc68f92ed62ae84a277a Signed-off-by: Yasufumi Ogawa <yasufum.o@gmail.com>
This commit is contained in:
parent
2becf4b0f1
commit
bb139587b2
6
tox.ini
6
tox.ini
@ -32,8 +32,10 @@ commands = {posargs}
|
|||||||
commands = python setup.py test --coverage --coverage-package-name=translator --testr-args='{posargs}'
|
commands = python setup.py test --coverage --coverage-package-name=translator --testr-args='{posargs}'
|
||||||
|
|
||||||
[testenv:docs]
|
[testenv:docs]
|
||||||
deps = -r{toxinidir}/doc/requirements.txt
|
deps =
|
||||||
commands = sphinx-build -b html doc/source doc/build/html
|
-c{env:TOX_CONSTRAINTS_FILE:https://releases.openstack.org/constraints/upper/master}
|
||||||
|
-r{toxinidir}/doc/requirements.txt
|
||||||
|
commands = sphinx-build -W -b html doc/source doc/build/html
|
||||||
|
|
||||||
[testenv:debug]
|
[testenv:debug]
|
||||||
commands =
|
commands =
|
||||||
|
Loading…
Reference in New Issue
Block a user