summaryrefslogtreecommitdiff
path: root/doc/conf.py
diff options
context:
space:
mode:
authorNed Batchelder <ned@nedbatchelder.com>2020-07-05 15:50:13 -0400
committerNed Batchelder <ned@nedbatchelder.com>2020-07-05 15:51:07 -0400
commitb4683d39a68c62db76b7f0dec43edf220a81cfd0 (patch)
treed4e5a6e7d28faa93fdc90472632696dce1147b17 /doc/conf.py
parentc1c1c6c25e8425bc554a53d3125b96600b87d1b6 (diff)
downloadpython-coveragepy-git-b4683d39a68c62db76b7f0dec43edf220a81cfd0.tar.gz
Don't check our own readthedocs links
Diffstat (limited to 'doc/conf.py')
-rw-r--r--doc/conf.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/doc/conf.py b/doc/conf.py
index 5cd47470..c0184cf8 100644
--- a/doc/conf.py
+++ b/doc/conf.py
@@ -227,6 +227,9 @@ 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 publishing a new version, the docs will refer to the version before
+ # the docs have been published. So don't check those links.
+ r"https://coverage.readthedocs.io/en/coverage-{}$".format(release),
]
# When auto-doc'ing a class, only write the class' docstring into the class docs,