Thanks to visit codestin.com Credit goes to github.com
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e35e0f1 commit f39e00fCopy full SHA for f39e00f
1 file changed
Doc/conf.py
@@ -254,9 +254,14 @@
254
# Options for the link checker
255
# ----------------------------
256
257
-# Ignore certain URLs.
258
-linkcheck_ignore = [r'https://bugs.python.org/(issue)?\d+']
259
-
+linkcheck_allowed_redirects = {
+ # bpo-NNNN -> BPO -> GH Issues
+ r'https://bugs.python.org/issue\?@action=redirect&bpo=\d+': 'https://github.com/python/cpython/issues/\d+',
260
+ # GH-NNNN used to refer to pull requests
261
+ r'https://github.com/python/cpython/issues/\d+': 'https://github.com/python/cpython/pull/\d+',
262
+ # :source:`something` linking files in the repository
263
+ r'https://github.com/python/cpython/tree/.*': 'https://github.com/python/cpython/blob/.*'
264
+}
265
266
# Options for extensions
267
# ----------------------
0 commit comments