From 61acf2f499ca7f352869cf778ac9b72a2cb6f812 Mon Sep 17 00:00:00 2001 From: "Dr. Jens Harbott" Date: Fri, 10 Dec 2021 09:02:32 +0100 Subject: [PATCH] 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 --- tox.ini | 2 ++ 1 file changed, 2 insertions(+) diff --git a/tox.ini b/tox.ini index d3765a7..cabb0ad 100644 --- a/tox.ini +++ b/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} -r{toxinidir}/doc/requirements.txt commands = docstheme-build-translated.sh +setenv = + SPHINX_WARNINGS_TRANS=1 [doc8] # Settings for doc8: