Fix warnings in doc build
This fixes the following two warnings detected by recent Sphinx. 1. Invalid configuration value found: 'language = None'. Update your configuration to a valid language code. Falling back to 'en' (English). 2. WARNING: The pre-Sphinx 1.0 'intersphinx_mapping' format is deprecated and will be removed in Sphinx 8. Update to the current format as described in the documentation. These warnings are treated as errors and `tox -e docs` fails. Change-Id: I49c386c96b5b73ff5637946ec6299fb4f97c6c61
This commit is contained in:
parent
f4751f1880
commit
823914edcf
@ -69,7 +69,7 @@ release = ''
|
||||
#
|
||||
# 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 = None
|
||||
|
||||
# List of patterns, relative to source directory, that match files and
|
||||
# directories to ignore when looking for source files.
|
||||
@ -162,7 +162,7 @@ texinfo_documents = [
|
||||
|
||||
|
||||
# Example configuration for intersphinx: refer to the Python standard library.
|
||||
intersphinx_mapping = {'https://docs.python.org/': None}
|
||||
intersphinx_mapping = {'python': ('https://docs.python.org/3', None)}
|
||||
|
||||
# openstackdocstheme options
|
||||
openstackdocs_repo_name = 'openstack/etcd3gw'
|
||||
|
Loading…
Reference in New Issue
Block a user