Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 0ef4966

Browse files
committed
linkcheck: ignore issue URLs and PEP URLs (the latter until the PEPs are on www.python.org again).
1 parent 525d355 commit 0ef4966

1 file changed

Lines changed: 10 additions & 0 deletions

File tree

Doc/conf.py

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -172,6 +172,16 @@
172172
# 'cfunction': [...]
173173
}
174174

175+
176+
# Options for the link checker
177+
# ----------------------------
178+
179+
# Ignore certain URLs.
180+
linkcheck_ignore = [r'https://bugs.python.org/(issue)?\d+',
181+
# Ignore PEPs for now, they all have permanent redirects.
182+
r'http://www.python.org/dev/peps/pep-\d+']
183+
184+
175185
# Options for extensions
176186
# ----------------------
177187

0 commit comments

Comments
 (0)