diff options
author | Georg Brandl <georg@python.org> | 2014-10-29 09:57:01 (GMT) |
---|---|---|
committer | Georg Brandl <georg@python.org> | 2014-10-29 09:57:01 (GMT) |
commit | cea2725736880f542acaa56bfd11db86582b0ce6 (patch) | |
tree | bcc42e9798687312e47cecabee22f00e0f4da31a | |
parent | 97ae4660e1f75f53a3f55b2bc1e96717484f0914 (diff) | |
download | cpython-cea2725736880f542acaa56bfd11db86582b0ce6.zip cpython-cea2725736880f542acaa56bfd11db86582b0ce6.tar.gz cpython-cea2725736880f542acaa56bfd11db86582b0ce6.tar.bz2 |
linkcheck: ignore issue URLs and PEP URLs (the latter until the PEPs are on www.python.org again).
-rw-r--r-- | Doc/conf.py | 10 |
1 files changed, 10 insertions, 0 deletions
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 # ---------------------- |