Fix sphinx configuration errors

This repo sphinx configuration file needs to be updated in order to
align with new sphinx code that might generate warnings/errors.

- Set language config to English [1] to avoid a warning that Zuul will
  handle as an error.
- Fix extlinks syntax according to [2]

[1] https://github.com/sphinx-doc/sphinx/issues/10474
[2] https://github.com/sphinx-doc/sphinx/issues/11094

Change-Id: I218b78d9adc42347850e5fc23e264cd29f5589f2
Signed-off-by: Thales Elero Cervi <thaleselero.cervi@windriver.com>
This commit is contained in:
Thales Elero Cervi 2023-10-17 08:22:41 -03:00
parent 405bfacaf6
commit 59d0e664d5
1 changed files with 2 additions and 2 deletions

View File

@ -49,7 +49,7 @@ extensions = [
# Define shorthand roles for making links to common destinations.
extlinks = {
'repo': ('https://opendev.org/%s', ''),
'repo': ('https://opendev.org/%s', '%s'),
}
# Add any paths that contain templates here, relative to this directory.
@ -72,7 +72,7 @@ bug_tag = 'stx.bug'
#
# 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.