u-boot.lists.denx.de archive mirror
 help / color / mirror / Atom feed
* [PATCH] doc: fix build with sphinx 5.0 and later.
@ 2022-11-07 13:49 Quentin Schulz
  2022-11-16  7:41 ` Heinrich Schuchardt
  0 siblings, 1 reply; 2+ messages in thread
From: Quentin Schulz @ 2022-11-07 13:49 UTC (permalink / raw)
  Cc: Quentin Schulz, Quentin Schulz, u-boot

From: Quentin Schulz <quentin.schulz@theobroma-systems.com>

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>
---
Cc: u-boot@lists.denx.de
---
 doc/conf.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

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:

---
base-commit: d25b11ae9f10a7455fb16680ac2e0e573d02c79e
change-id: 20221107-upstream-sphinx-5-language-3a3f21715614

Best regards,
-- 
Quentin Schulz <quentin.schulz@theobroma-systems.com>

^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [PATCH] doc: fix build with sphinx 5.0 and later.
  2022-11-07 13:49 [PATCH] doc: fix build with sphinx 5.0 and later Quentin Schulz
@ 2022-11-16  7:41 ` Heinrich Schuchardt
  0 siblings, 0 replies; 2+ messages in thread
From: Heinrich Schuchardt @ 2022-11-16  7:41 UTC (permalink / raw)
  To: Quentin Schulz; +Cc: Quentin Schulz, u-boot

On 11/7/22 14:49, Quentin Schulz wrote:
> From: Quentin Schulz <quentin.schulz@theobroma-systems.com>
>
> 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>
> ---
> Cc: u-boot@lists.denx.de

Reviewed: Heinrich Schuchardt <xypron.glpk@gmx.de>

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2022-11-16  7:42 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-11-07 13:49 [PATCH] doc: fix build with sphinx 5.0 and later Quentin Schulz
2022-11-16  7:41 ` Heinrich Schuchardt

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).