From 43ec9b8119084b7b6bede578c5512135901b750d Mon Sep 17 00:00:00 2001 From: Al Bailey Date: Tue, 31 May 2022 13:31:41 +0000 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. Updating a file header to trigger zuul. 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 Closes-Bug: #1976377 Signed-off-by: Al Bailey Change-Id: I4d489a7bb8f579c894081bedba8ac3638a7eae1d --- doc/source/conf.py | 2 +- sysinv/sysinv/sysinv/sysinv/sanity_coverage.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/doc/source/conf.py b/doc/source/conf.py index 2dd99385ca..9b57058521 100644 --- a/doc/source/conf.py +++ b/doc/source/conf.py @@ -61,7 +61,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. diff --git a/sysinv/sysinv/sysinv/sysinv/sanity_coverage.py b/sysinv/sysinv/sysinv/sysinv/sanity_coverage.py index 00ddc370da..4754bc72f8 100644 --- a/sysinv/sysinv/sysinv/sysinv/sanity_coverage.py +++ b/sysinv/sysinv/sysinv/sysinv/sanity_coverage.py @@ -1,5 +1,5 @@ # -# Copyright (c) 2018-2021 Wind River Systems, Inc. +# Copyright (c) 2018-2022 Wind River Systems, Inc. # # SPDX-License-Identifier: Apache-2.0 #