diff options
author | Quentin Schulz <quentin.schulz@theobroma-systems.com> | 2022-11-07 14:49:31 +0100 |
---|---|---|
committer | Heinrich Schuchardt <heinrich.schuchardt@canonical.com> | 2022-11-16 08:34:06 +0100 |
commit | 2b94359e9c489061b66cc7dcefddbb6adb5ba9f8 (patch) | |
tree | 0917be5fb6f82a2b761653c349c92238c8d053b8 /doc | |
parent | 030c2d187ed2495fdb37e58fb5bf6997ef4039ef (diff) | |
download | u-boot-2b94359e9c489061b66cc7dcefddbb6adb5ba9f8.tar.gz u-boot-2b94359e9c489061b66cc7dcefddbb6adb5ba9f8.tar.bz2 u-boot-2b94359e9c489061b66cc7dcefddbb6adb5ba9f8.zip |
doc: fix build with sphinx 5.0 and later.
Sphinx 5.0 and later fails to build when language is set to None:
Warning, treated as error:
Invalid configuration value found: 'language = None'. Update your configuration to a valid langauge code. Falling back to 'en' (English)
Let's set the language to English since it is the language used for the
documentation.
Cc: Quentin Schulz <foss+uboot@0leil.net>
Signed-off-by: Quentin Schulz <quentin.schulz@theobroma-systems.com>
Reviewed-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
Diffstat (limited to 'doc')
-rw-r--r-- | doc/conf.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/doc/conf.py b/doc/conf.py index eac3accd56..62c8d31270 100644 --- a/doc/conf.py +++ b/doc/conf.py @@ -178,7 +178,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' # There are two options for replacing |today|: either, you set today to some # non-false value, then it is used: |