From c819a656901962dd78874b3e42027311ce01f72a Mon Sep 17 00:00:00 2001 From: Heitor Matsui Date: Fri, 3 Jun 2022 15:18:30 -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. 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 Note: The bug referenced below is for the config repo, but it affects multiple StarlingX repositories. Closes-Bug: 1976377 Change-Id: I7bb7886f27ce6190f8e23270efc1aadb7364fc90 Signed-off-by: Heitor Matsui --- doc/source/conf.py | 2 +- nfv/nfv-vim/nfv_vim/strategy/_strategy_steps.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/doc/source/conf.py b/doc/source/conf.py index 6462b5d5..2028238c 100644 --- a/doc/source/conf.py +++ b/doc/source/conf.py @@ -62,7 +62,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/nfv/nfv-vim/nfv_vim/strategy/_strategy_steps.py b/nfv/nfv-vim/nfv_vim/strategy/_strategy_steps.py index 0fd70239..8d655efa 100755 --- a/nfv/nfv-vim/nfv_vim/strategy/_strategy_steps.py +++ b/nfv/nfv-vim/nfv_vim/strategy/_strategy_steps.py @@ -1,5 +1,5 @@ # -# Copyright (c) 2015-2021 Wind River Systems, Inc. +# Copyright (c) 2015-2022 Wind River Systems, Inc. # # SPDX-License-Identifier: Apache-2.0 #