fix docs build for sphinx 5.x

This commit is contained in:
Anthony Sottile 2022-05-30 18:24:13 -04:00
parent 1c85f3d07c
commit 9afcda1286

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"