File tree 1 file changed +8
-3
lines changed
1 file changed +8
-3
lines changed Original file line number Diff line number Diff line change 254
254
# Options for the link checker
255
255
# ----------------------------
256
256
257
- # Ignore certain URLs.
258
- linkcheck_ignore = [r'https://bugs.python.org/(issue)?\d+' ]
259
-
257
+ linkcheck_allowed_redirects = {
258
+ # bpo-NNNN -> BPO -> GH Issues
259
+ 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
+ }
260
265
261
266
# Options for extensions
262
267
# ----------------------
You can’t perform that action at this time.
0 commit comments