]> granicus.if.org Git - python/commitdiff
linkcheck: ignore issue URLs and PEP URLs (the latter until the PEPs are on www.pytho...
authorGeorg Brandl <georg@python.org>
Wed, 29 Oct 2014 09:57:01 +0000 (10:57 +0100)
committerGeorg Brandl <georg@python.org>
Wed, 29 Oct 2014 09:57:01 +0000 (10:57 +0100)
Doc/conf.py

index 8174032d64d3cc268f9a0ac8c2c6377179bc0732..de9d89022aac34bd995d466cbc4cbe5162f6065b 100644 (file)
@@ -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
 # ----------------------