From cea2725736880f542acaa56bfd11db86582b0ce6 Mon Sep 17 00:00:00 2001 From: Georg Brandl Date: Wed, 29 Oct 2014 10:57:01 +0100 Subject: linkcheck: ignore issue URLs and PEP URLs (the latter until the PEPs are on www.python.org again). --- Doc/conf.py | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/Doc/conf.py b/Doc/conf.py index 8174032..de9d890 100644 --- a/Doc/conf.py +++ b/Doc/conf.py @@ -171,6 +171,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 # ---------------------- -- cgit v0.12