docs: update language setting for Sphinx build
authorVincent Fu <vincent.fu@samsung.com>
Tue, 31 May 2022 21:49:11 +0000 (21:49 +0000)
committerJens Axboe <axboe@kernel.dk>
Wed, 1 Jun 2022 02:58:00 +0000 (20:58 -0600)
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>
Link: https://lore.kernel.org/r/20220531214857.169864-1-vincent.fu@samsung.com
Signed-off-by: Jens Axboe <axboe@kernel.dk>
doc/conf.py

index 10b72ecb913b0ad9643605e7b6143e7990ea9c81..844f951ab7ecd17eb9bbbf0ae4b323a67cd3a155 100644 (file)
@@ -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:
 #