[PATCH 2/8] conf.py: add extra links known to be broken
Antonin Godard <[email protected]> Fri, 10 Jul 2026 16:46:49 +0200
| Newsgroups | org.yoctoproject.lists.docs |
|---|---|
| Message-ID | <[email protected]> |
Those links are broken, yet our documentation still has references to them we want to keep, namely in release notes. Make the linkcheck ignore them. Signed-off-by: Antonin Godard <[email protected]> --- documentation/conf.py | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/documentation/conf.py b/documentation/conf.py index aff01c1ed..a5b0add8f 100644 --- a/documentation/conf.py +++ b/documentation/conf.py @@ -156,6 +156,16 @@ linkcheck_ignore = [ r'https?://mirrors\.edge\.kernel\.org.*' ] +# Those link are known to be dead, yet we want to keep them in our documentation +# because they still hold value in the context in which they were used (e.g. in +# release notes). +linkcheck_ignore += [ + r'https?://linuxkernelcves\.com.*', + r'https?://gpe\.linuxtogo\.org.*', + r'https?://jk\.ozlabs\.org/projects/patchwork.*', + r'https?://rlbl\.me/prelink.*', +] + # -- Options for HTML output ------------------------------------------------- # The theme to use for HTML and HTML Help pages. See the documentation for -- 2.54.0