diff options
author | Ned Batchelder <ned@nedbatchelder.com> | 2020-07-05 15:50:13 -0400 |
---|---|---|
committer | Ned Batchelder <ned@nedbatchelder.com> | 2020-07-05 15:51:07 -0400 |
commit | b4683d39a68c62db76b7f0dec43edf220a81cfd0 (patch) | |
tree | d4e5a6e7d28faa93fdc90472632696dce1147b17 | |
parent | c1c1c6c25e8425bc554a53d3125b96600b87d1b6 (diff) | |
download | python-coveragepy-git-b4683d39a68c62db76b7f0dec43edf220a81cfd0.tar.gz |
Don't check our own readthedocs links
-rw-r--r-- | doc/conf.py | 3 | ||||
-rw-r--r-- | howto.txt | 2 |
2 files changed, 3 insertions, 2 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, @@ -21,8 +21,6 @@ - Don't forget the man page: doc/python-coverage.1.txt - Check that the docs build correctly: $ tox -e doc - there will be warnings about the readthedocs links being broken, - because this version's docs haven't been published yet. - Done with changes to source files, check them in. - git push - Generate new sample_html to get the latest, incl footer version number: |