All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] docs: update language setting for Sphinx build
       [not found] <CGME20220531214912uscas1p2d80942edd01e3f12d80514ccf3ab9f6d@uscas1p2.samsung.com>
@ 2022-05-31 21:49 ` Vincent Fu
  2022-06-01  2:58   ` Jens Axboe
  0 siblings, 1 reply; 2+ messages in thread
From: Vincent Fu @ 2022-05-31 21:49 UTC (permalink / raw)
  To: axboe, fio; +Cc: Vincent Fu

Sphinx 5.0.0 no longer accepts None for language. Remove it and Sphinx
will use English as the default and no longer emit a warning.

For details see https://github.com/sphinx-doc/sphinx/issues/10474

Sphinx warnings cause our documentation build on GitHub Actions to fail.
Failures were observed for recent macOS builds which upgraded to Sphinx
5.0.0.

Signed-off-by: Vincent Fu <vincent.fu@samsung.com>
---
 doc/conf.py | 7 -------
 1 file changed, 7 deletions(-)

diff --git a/doc/conf.py b/doc/conf.py
index 10b72ecb..844f951a 100644
--- a/doc/conf.py
+++ b/doc/conf.py
@@ -85,13 +85,6 @@ def fio_version():
 
 version, release = fio_version()
 
-# The language for content autogenerated by Sphinx. Refer to documentation
-# for a list of supported languages.
-#
-# 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
-
 # There are two options for replacing |today|: either, you set today to some
 # non-false value, then it is used:
 #
-- 
2.25.1

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

* Re: [PATCH] docs: update language setting for Sphinx build
  2022-05-31 21:49 ` [PATCH] docs: update language setting for Sphinx build Vincent Fu
@ 2022-06-01  2:58   ` Jens Axboe
  0 siblings, 0 replies; 2+ messages in thread
From: Jens Axboe @ 2022-06-01  2:58 UTC (permalink / raw)
  To: fio, vincent.fu

On Tue, 31 May 2022 21:49:11 +0000, Vincent Fu wrote:
> Sphinx 5.0.0 no longer accepts None for language. Remove it and Sphinx
> will use English as the default and no longer emit a warning.
> 
> For details see https://github.com/sphinx-doc/sphinx/issues/10474
> 
> Sphinx warnings cause our documentation build on GitHub Actions to fail.
> Failures were observed for recent macOS builds which upgraded to Sphinx
> 5.0.0.
> 
> [...]

Applied, thanks!

[1/1] docs: update language setting for Sphinx build
      commit: 5ceed0be62f3ce8903d5747674f9f70f44e736d6

Best regards,
-- 
Jens Axboe



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

end of thread, other threads:[~2022-06-01  2:58 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <CGME20220531214912uscas1p2d80942edd01e3f12d80514ccf3ab9f6d@uscas1p2.samsung.com>
2022-05-31 21:49 ` [PATCH] docs: update language setting for Sphinx build Vincent Fu
2022-06-01  2:58   ` Jens Axboe

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.