summaryrefslogtreecommitdiffstats
path: root/Doc
diff options
context:
space:
mode:
authorGeorg Brandl <georg@python.org>2014-10-29 09:57:01 (GMT)
committerGeorg Brandl <georg@python.org>2014-10-29 09:57:01 (GMT)
commit0ef496678a4908d321596043156fefeaf6e8afae (patch)
treea1278cb71c2aa9f4cb6fc6b92a476dddf7a93f34 /Doc
parent525d355984e1afa342aa72fc7867a56eea937a61 (diff)
downloadcpython-0ef496678a4908d321596043156fefeaf6e8afae.zip
cpython-0ef496678a4908d321596043156fefeaf6e8afae.tar.gz
cpython-0ef496678a4908d321596043156fefeaf6e8afae.tar.bz2
linkcheck: ignore issue URLs and PEP URLs (the latter until the PEPs are on www.python.org again).
Diffstat (limited to 'Doc')
-rw-r--r--Doc/conf.py10
1 files changed, 10 insertions, 0 deletions
diff --git a/Doc/conf.py b/Doc/conf.py
index e6f22a3..f803de2 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
# ----------------------