diff --git a/Doc/conf.py b/Doc/conf.py index e6f22a3528a..f803de238e7 100644 --- a/Doc/conf.py +++ b/Doc/conf.py @@ -172,6 +172,16 @@ coverage_ignore_c_items = { # 'cfunction': [...] } + +# Options for the link checker +# ---------------------------- + +# Ignore certain URLs. +linkcheck_ignore = [r'https://bugs.python.org/(issue)?\d+', + # Ignore PEPs for now, they all have permanent redirects. + r'http://www.python.org/dev/peps/pep-\d+'] + + # Options for extensions # ----------------------