From 52c89be602fc69b16ff6ca365a0582a75296f3ed Mon Sep 17 00:00:00 2001 From: Thomas Lamprecht Date: Wed, 8 Nov 2023 12:12:12 +0100 Subject: [PATCH] docs: cope with removal of language=None in Sphinx 5.0.0 avoid a few ugly errors that we get here since basing of the Debian Bookworm release, which is the first to ship a sphinx version newer than 5.0, which removed support for allowing None as language [0] [0]: https://www.sphinx-doc.org/en/master/changes.html#release-5-0-0-released-may-30-2022 Signed-off-by: Thomas Lamprecht --- docs/conf.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/conf.py b/docs/conf.py index f7e7c54d..7d2f0f6e 100644 --- a/docs/conf.py +++ b/docs/conf.py @@ -122,7 +122,7 @@ man_pages = [ # # 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' # There are two options for replacing |today|: either, you set today to some # non-false value, then it is used: