From b4683d39a68c62db76b7f0dec43edf220a81cfd0 Mon Sep 17 00:00:00 2001 From: Ned Batchelder Date: Sun, 5 Jul 2020 15:50:13 -0400 Subject: Don't check our own readthedocs links --- doc/conf.py | 3 +++ 1 file changed, 3 insertions(+) (limited to 'doc') 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, -- cgit v1.2.1