From 9afcda128606a20c34e5bb7b57ffef79367107d6 Mon Sep 17 00:00:00 2001 From: Anthony Sottile Date: Mon, 30 May 2022 18:24:13 -0400 Subject: [PATCH] fix docs build for sphinx 5.x --- docs/source/conf.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/docs/source/conf.py b/docs/source/conf.py index 54d837c..e0406c2 100644 --- a/docs/source/conf.py +++ b/docs/source/conf.py @@ -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"