]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
[3.7] Update Sphinx bpo role to use redirect URI. (GH-91893)
authorEzio Melotti <ezio.melotti@gmail.com>
Tue, 10 May 2022 04:04:07 +0000 (06:04 +0200)
committerGitHub <noreply@github.com>
Tue, 10 May 2022 04:04:07 +0000 (00:04 -0400)
(cherry picked from commit 08cfe079503ffd19d8b7ab324f0fdb1c6b150ca8)

Co-authored-by: Ezio Melotti <ezio.melotti@gmail.com>
Doc/tools/extensions/pyspecific.py

index 3b6fa90059160d2b54ace1cbfc329b4da365637c..4dd178619803a87a32f3d30403ae59c460274a93 100644 (file)
@@ -35,7 +35,7 @@ from sphinx.domains.python import PyModulelevel, PyClassmember
 import suspicious
 
 
-ISSUE_URI = 'https://bugs.python.org/issue%s'
+ISSUE_URI = 'https://bugs.python.org/issue?@action=redirect&bpo=%s'
 SOURCE_URI = 'https://github.com/python/cpython/tree/3.7/%s'
 
 # monkey-patch reST parser to disable alphabetic and roman enumerated lists