]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
[3.9] Update Sphinx bpo role to use redirect URI. (#91891)
authorEzio Melotti <ezio.melotti@gmail.com>
Sun, 24 Apr 2022 21:17:48 +0000 (23:17 +0200)
committerGitHub <noreply@github.com>
Sun, 24 Apr 2022 21:17:48 +0000 (23:17 +0200)
* Update Sphinx bpo role to use redirect URI. (GH-32342)

* [3.9] Update Sphinx bpo role to use redirect URI. (GH-32342).
(cherry picked from commit 08cfe079503ffd19d8b7ab324f0fdb1c6b150ca8)

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

index 7c448310f47f6b8121763d6040ea6280ae5c94f3..452366a17892685d005c2c1df393a7fe2b0c13f2 100644 (file)
@@ -43,7 +43,7 @@ except ImportError:
 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.9/%s'
 
 # monkey-patch reST parser to disable alphabetic and roman enumerated lists