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:
Dr. Jens Harbott 2021-12-10 09:02:32 +01:00
parent 05633a3b69
commit 61acf2f499
1 changed files with 2 additions and 0 deletions

View File

@ -23,6 +23,8 @@ commands = doc8 -v doc README.rst
deps = -c{env:TOX_CONSTRAINTS_FILE:https://releases.openstack.org/constraints/upper/master}
-r{toxinidir}/doc/requirements.txt
commands = docstheme-build-translated.sh
setenv =
SPHINX_WARNINGS_TRANS=1
[doc8]
# Settings for doc8: