[elbe-devel] [PATCH 09/15] docs: Fix warning for sphinx-build (invalid config option)

Benedikt Spranger b.spranger at linutronix.de
Thu Oct 26 15:41:07 CEST 2023


From: Anna-Maria Behnsen <anna-maria at linutronix.de>

The configuration option 'language = None' is no longer valid and so the
build target 'sphinx' raised the following warning:

  WARNING: Invalid configuration value found: 'language = None'. Update
  your configuration to a valid language code. Falling back to 'en'
  (English).

Therefore replace 'None' by 'en' in config file.

Signed-off-by: Anna-Maria Behnsen <anna-maria at linutronix.de>
Reviewed-by: Eduard Krein <eduard.krein at linutronix.de>
---
 docs/conf.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/docs/conf.py b/docs/conf.py
index 86bad6de..7fffcca6 100644
--- a/docs/conf.py
+++ b/docs/conf.py
@@ -69,7 +69,7 @@ from elbepack.version import elbe_version as 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 = 'en'
 
 # List of patterns, relative to source directory, that match files and
 # directories to ignore when looking for source files.
-- 
2.42.0



More information about the elbe-devel mailing list