From c5436e8d0bcc6c79b887a5b52784a09f4f163c0e Mon Sep 17 00:00:00 2001 From: Leonardo Fagundes Luz Serrano Date: Tue, 29 Aug 2023 16:40:13 -0300 Subject: [PATCH] Fix tox-docs failing sphinx A new version of sphinx was released May 29 2022 which requires a language setting in config otherwise a warning (treated as error) causes the sphinx operation to fail. Updated the sphinx config file to correct the issue. The sphinx behavioural change is mentioned here: https://github.com/sphinx-doc/sphinx/issues/10062 https://github.com/sphinx-doc/sphinx/issues/10474 Partial-Bug: #1976377 Change-Id: Ie5befebdae510e68831f54abe54b076946fd2021 Signed-off-by: Leonardo Fagundes Luz Serrano --- doc/source/conf.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/doc/source/conf.py b/doc/source/conf.py index 037da342e..c6ab030fe 100644 --- a/doc/source/conf.py +++ b/doc/source/conf.py @@ -63,7 +63,7 @@ openstackdocs_auto_name = False # # This is also used if you do content translation via gettext catalogs. # Usually you set "language" from the command line for these cases. -language = None +language = 'en' # List of patterns, relative to source directory, that match files and # directories to ignore when looking for source files.