Skip to content

Commit 7f56102

Browse files
committed
Don't check GitHub issue or pull links, since they start to fail after too many
1 parent 705c05b commit 7f56102

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

doc/conf.py

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -222,6 +222,13 @@
222222
'github': ('https://github.com/nedbat/coveragepy/issues/%s', 'issue '),
223223
}
224224

225+
# Regexes for URLs that linkcheck should skip.
226+
linkcheck_ignore = [
227+
# We have lots of links to GitHub, and they start refusing to serve them to linkcheck,
228+
# so don't bother checking them.
229+
r"https://github.com/nedbat/coveragepy/(issues|pull)/\d+",
230+
]
231+
225232
# When auto-doc'ing a class, only write the class' docstring into the class docs,
226233
# don't automatically include the __init__ docstring.
227234
autoclass_content = "class"

0 commit comments

Comments
 (0)