linkcheck: ignore issue URLs and PEP URLs (the latter until the PEPs are on www.python.org again).

This commit is contained in:
Georg Brandl 2014-10-29 10:57:01 +01:00
parent 525d355984
commit 0ef496678a
1 changed files with 10 additions and 0 deletions

View File

@ -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
# ----------------------