Ignore Sphinx translation warnings
With Sphinx>=4 the docs build is failing when processing some translations due to warnings occurring. Don't treat the warnings as error for now to unblock other patches. See also the discussion in [0]. [0] https://review.opendev.org/c/openstack/openstackdocstheme/+/802758 Change-Id: Icd44440ddade54b7e963ab652074a0107f4b444b
This commit is contained in:
parent
05633a3b69
commit
61acf2f499
2
tox.ini
2
tox.ini
@ -23,6 +23,8 @@ commands = doc8 -v doc README.rst
|
|||||||
deps = -c{env:TOX_CONSTRAINTS_FILE:https://releases.openstack.org/constraints/upper/master}
|
deps = -c{env:TOX_CONSTRAINTS_FILE:https://releases.openstack.org/constraints/upper/master}
|
||||||
-r{toxinidir}/doc/requirements.txt
|
-r{toxinidir}/doc/requirements.txt
|
||||||
commands = docstheme-build-translated.sh
|
commands = docstheme-build-translated.sh
|
||||||
|
setenv =
|
||||||
|
SPHINX_WARNINGS_TRANS=1
|
||||||
|
|
||||||
[doc8]
|
[doc8]
|
||||||
# Settings for doc8:
|
# Settings for doc8:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user