Apply upper constraints to build documentation
... to avoid problems caused by the latest libraries. Change-Id: Ibfccb2aca12a5f25e5179143f95dac63bde1e5e1
This commit is contained in:
parent
310b25afd0
commit
21782d332b
8
tox.ini
8
tox.ini
@ -42,7 +42,9 @@ commands =
|
||||
commands = oslo_debug_helper -t keystonemiddleware/tests {posargs}
|
||||
|
||||
[testenv:docs]
|
||||
deps = -r{toxinidir}/doc/requirements.txt
|
||||
deps =
|
||||
-c{env:TOX_CONSTRAINTS_FILE:https://releases.openstack.org/constraints/upper/master}
|
||||
-r{toxinidir}/doc/requirements.txt
|
||||
commands=
|
||||
doc8 doc/source
|
||||
sphinx-build -W -b html doc/source doc/build/html
|
||||
@ -58,7 +60,9 @@ commands =
|
||||
make -C doc/build/pdf
|
||||
|
||||
[testenv:releasenotes]
|
||||
deps = -r{toxinidir}/doc/requirements.txt
|
||||
deps =
|
||||
-c{env:TOX_CONSTRAINTS_FILE:https://releases.openstack.org/constraints/upper/master}
|
||||
-r{toxinidir}/doc/requirements.txt
|
||||
commands =
|
||||
sphinx-build -a -E -W -d releasenotes/build/doctrees -b html releasenotes/source releasenotes/build/html
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user