diff options
author | Ned Batchelder <ned@nedbatchelder.com> | 2020-07-04 18:02:36 -0400 |
---|---|---|
committer | Ned Batchelder <ned@nedbatchelder.com> | 2020-07-04 18:02:36 -0400 |
commit | 7f561024b27fcbd91a4de6a4445535ea14938c51 (patch) | |
tree | f8d8a327c381915523bc645d1d98e847c94ad04a /doc/conf.py | |
parent | 705c05b7f63b40a2565dc0648ad5739bbc6352a7 (diff) | |
download | python-coveragepy-git-7f561024b27fcbd91a4de6a4445535ea14938c51.tar.gz |
Don't check GitHub issue or pull links, since they start to fail after too many
Diffstat (limited to 'doc/conf.py')
-rw-r--r-- | doc/conf.py | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/doc/conf.py b/doc/conf.py index ab18f3a8..d8c9742b 100644 --- a/doc/conf.py +++ b/doc/conf.py @@ -222,6 +222,13 @@ extlinks = { 'github': ('https://github.com/nedbat/coveragepy/issues/%s', 'issue '), } +# Regexes for URLs that linkcheck should skip. +linkcheck_ignore = [ + # We have lots of links to GitHub, and they start refusing to serve them to linkcheck, + # so don't bother checking them. + r"https://github.com/nedbat/coveragepy/(issues|pull)/\d+", +] + # When auto-doc'ing a class, only write the class' docstring into the class docs, # don't automatically include the __init__ docstring. autoclass_content = "class" |