Skip to content

Commit b4683d3

Browse files
committed
Don't check our own readthedocs links
1 parent c1c1c6c commit b4683d3

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

doc/conf.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -227,6 +227,9 @@
227227
# We have lots of links to GitHub, and they start refusing to serve them to linkcheck,
228228
# so don't bother checking them.
229229
r"https://github.com/nedbat/coveragepy/(issues|pull)/\d+",
230+
# When publishing a new version, the docs will refer to the version before
231+
# the docs have been published. So don't check those links.
232+
r"https://coverage.readthedocs.io/en/coverage-{}$".format(release),
230233
]
231234

232235
# When auto-doc'ing a class, only write the class' docstring into the class docs,

howto.txt

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,8 +21,6 @@
2121
- Don't forget the man page: doc/python-coverage.1.txt
2222
- Check that the docs build correctly:
2323
$ tox -e doc
24-
there will be warnings about the readthedocs links being broken,
25-
because this version's docs haven't been published yet.
2624
- Done with changes to source files, check them in.
2725
- git push
2826
- Generate new sample_html to get the latest, incl footer version number:

0 commit comments

Comments
 (0)