39 lines
1.3 KiB
Diff
39 lines
1.3 KiB
Diff
|
|
From a6861159f23833f878be833e2c0c37060ac14513 Mon Sep 17 00:00:00 2001
|
||
|
|
From: Wanghe Xiao <xiaowanghe_yewu@cmss.chinamobile.com>
|
||
|
|
Date: Sat, 25 Nov 2023 02:57:47 -0800
|
||
|
|
Subject: [PATCH] sphinx: change default language to 'en'
|
||
|
|
|
||
|
|
cherry picked from commit ba1a6723f58640ba281bc952abc255e97c70bad5
|
||
|
|
|
||
|
|
Fixes the following Sphinx warning (treated as error) starting
|
||
|
|
with 5.0 release:
|
||
|
|
|
||
|
|
Warning, treated as error:
|
||
|
|
Invalid configuration value found: 'language = None'. Update your configuration to a valid langauge code. Falling back to 'en' (English).
|
||
|
|
|
||
|
|
Signed-off-by: Martin Liska <mliska@suse.cz>
|
||
|
|
Message-id: e91e51ee-48ac-437e-6467-98b56ee40042@suse.cz
|
||
|
|
Reviewed-by: Peter Maydell <peter.maydell@linaro.org>
|
||
|
|
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
|
||
|
|
Signed-off-by: Wanghe Xiao <xiaowanghe_yewu@cmss.chinamobile.com>
|
||
|
|
---
|
||
|
|
docs/conf.py | 2 +-
|
||
|
|
1 file changed, 1 insertion(+), 1 deletion(-)
|
||
|
|
|
||
|
|
diff --git a/docs/conf.py b/docs/conf.py
|
||
|
|
index 763e7d2434..84b593e12a 100644
|
||
|
|
--- a/docs/conf.py
|
||
|
|
+++ b/docs/conf.py
|
||
|
|
@@ -120,7 +120,7 @@
|
||
|
|
#
|
||
|
|
# 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.27.0
|
||
|
|
|