SHA256
1
0
forked from pool/qemu
qemu/sphinx-change-default-language-to-en.patch
Dario Faggioli c39ad145aa Accepting request 984177 from home:dfaggioli:old_qemu
- Fix bugs boo#1200557 and boo#1199924
- Now that boo#1199924 is fixed, re-enable FORTIFY_SOURCE=3
* Patches added:
  pci-fix-overflow-in-snprintf-string-form.patch
  sphinx-change-default-language-to-en.patch

OBS-URL: https://build.opensuse.org/request/show/984177
OBS-URL: https://build.opensuse.org/package/show/Virtualization/qemu?expand=0&rev=721
2022-06-21 13:17:32 +00:00

34 lines
1.1 KiB
Diff

From: =?UTF-8?q?Martin=20Li=C5=A1ka?= <mliska@suse.cz>
Date: Fri, 17 Jun 2022 16:02:56 +0200
Subject: sphinx: change default language to 'en'
Git-commit: 0000000000000000000000000000000000000000
References: bsc#1200557
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>
Reviewed-by: Peter Maydell <peter.maydell@linaro.org>
Acked-by: Dario Faggioli <dfaggioli@suse.com>
---
docs/conf.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/docs/conf.py b/docs/conf.py
index 763e7d2434487bb558111d34f07f..84b593e12af8a17412b731ef4366 100644
--- a/docs/conf.py
+++ b/docs/conf.py
@@ -120,7 +120,7 @@ finally:
#
# 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.