Merge pull request #1600 from PyCQA/fix-docs

fix docs build for sphinx 5.x
This commit is contained in:
Anthony Sottile 2022-05-30 18:26:50 -04:00 committed by GitHub
commit 6cff5dd2d7
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -72,7 +72,7 @@ rst_epilog = """
#
# 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:
@ -297,8 +297,8 @@ texinfo_documents = [
intersphinx_mapping = {"python": ("https://docs.python.org/3/", None)}
extlinks = {
"issue": ("https://github.com/pycqa/flake8/issues/%s", "#"),
"pull": ("https://github.com/pycqa/flake8/pull/%s", "#"),
"issue": ("https://github.com/pycqa/flake8/issues/%s", "#%s"),
"pull": ("https://github.com/pycqa/flake8/pull/%s", "#%s"),
}
autodoc_typehints = "description"