From 8762699edfa4bc488ef335fc35cef348a5650c5e Mon Sep 17 00:00:00 2001 From: Shivani Bhardwaj Date: Fri, 12 Aug 2022 15:16:14 +0530 Subject: [PATCH] doc/conf: fix sphinx language setting sphinx-build 5.1.1 and above throws a warning which is treated as an error while building. Invalid configuration value found: 'language = None'. Update your configuration to a valid language code. Falling back to 'en' (English). (cherry picked from commit 2c4d6b33aec856e7836136a0f97d05de794f0ec0) --- doc/userguide/conf.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/doc/userguide/conf.py b/doc/userguide/conf.py index 1474dd87af..47fec8ec6c 100644 --- a/doc/userguide/conf.py +++ b/doc/userguide/conf.py @@ -80,7 +80,7 @@ release = version # # 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: -- 2.47.2