docs: do not linkcheck relnotes
authorErik Faye-Lund <erik.faye-lund@collabora.com>
Mon, 7 Nov 2022 13:46:27 +0000 (14:46 +0100)
committerErik Faye-Lund <erik.faye-lund@collabora.com>
Thu, 10 Nov 2022 16:26:19 +0000 (17:26 +0100)
There's a *lot* of relnotes, and we don't really actively maintain them.
Let's drop linkchecking them to speed things up a bit.

This does a whole lot of nothing unless you have Sphinx 4.4 or newer.

Reviewed-by: Eric Engestrom <eric@igalia.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/19574>

docs/conf.py

index 73d71d9a46589aa9ae9b7cf7cfbb6b8fdbb1f8a6..3a712944a1c21c591e155b836bc7d8eadd332b48 100644 (file)
@@ -150,6 +150,7 @@ linkcheck_ignore = [
   r'https://gitlab.freedesktop.org/.*#.*', # needs JS eval
   r'https://github.com/.*#.*', # needs JS eval
 ]
+linkcheck_exclude_documents = [r'relnotes/.*']
 
 
 # -- Options for HTMLHelp output ------------------------------------------