summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJacopo Mondi <jacopo@jmondi.org>2022-06-20 14:48:14 +0200
committerJacopo Mondi <jacopo@jmondi.org>2022-06-20 18:19:14 +0200
commit10be87fa7c3bfb097b21ca3d469c67e40c333f7e (patch)
tree5cd6ab06a04c61b36b0e0c4a0474b3ca3db55c80
parent7cd8b54fd7b4a03e8a25107575dc547e219a3747 (diff)
Documentation: Use language 'en' for Sphinx 5.0.0
Recent versions of Sphinx (> 5.0.0) have dropped support for the 'None' keyword as language specifier: https://www.sphinx-doc.org/en/master/changes.html#release-5-0-0-released-may-30-2022 10474: language does not accept None as it value. The default value of language becomes to 'en' now. Patch by Adam Turner and Takeshi KOMIYA. Causing a compile time warning: WARNING: Invalid configuration value found: 'language = None'. Update your configuration to a valid language code. Falling back to 'en' (English). Change the language setting to 'en' to silence the warning. Signed-off-by: Jacopo Mondi <jacopo@jmondi.org> Reviewed-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com> Reviewed-by: Kieran Bingham <kieran.bingham@ideasonboard.com>
-rw-r--r--Documentation/conf.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/Documentation/conf.py b/Documentation/conf.py
index 78602c85..7eeea7f3 100644
--- a/Documentation/conf.py
+++ b/Documentation/conf.py
@@ -56,7 +56,7 @@ master_doc = 'index'
#
# 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.