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 242
242
# Options for the link checker
243
243
# ----------------------------
244
244
245
- # Ignore certain URLs.
246
- linkcheck_ignore = [r'https://bugs.python.org/(issue)?\d+' ]
247
-
245
+ linkcheck_allowed_redirects = {
246
+ # bpo-NNNN -> BPO -> GH Issues
247
+ r'https://bugs.python.org/issue\?@action=redirect&bpo=\d+' : 'https://github.com/python/cpython/issues/\d+' ,
248
+ # GH-NNNN used to refer to pull requests
249
+ r'https://github.com/python/cpython/issues/\d+' : 'https://github.com/python/cpython/pull/\d+' ,
250
+ # :source:`something` linking files in the repository
251
+ r'https://github.com/python/cpython/tree/.*' : 'https://github.com/python/cpython/blob/.*'
252
+ }
248
253
249
254
# Options for extensions
250
255
# ----------------------
You can’t perform that action at this time.
0 commit comments