Skip to content

Commit

Permalink
docs: update language setting for Sphinx build
Browse files Browse the repository at this point in the history
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 sphinx-doc/sphinx#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>
  • Loading branch information
vincentkfu authored and axboe committed Jun 1, 2022
1 parent e1aeff3 commit 5ceed0b
Showing 1 changed file with 0 additions and 7 deletions.
7 changes: 0 additions & 7 deletions doc/conf.py
Expand Up @@ -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:
#
Expand Down

0 comments on commit 5ceed0b

Please sign in to comment.