Re: [docs] [PATCH 2/8] conf.py: add extra links known to be broken
"Antonin Godard" <[email protected]> Wed, 15 Jul 2026 14:30:42 +0200
| Newsgroups | org.yoctoproject.lists.docs |
|---|---|
| Message-ID | <[email protected]> |
Hi, On Fri Jul 10, 2026 at 5:13 PM CEST, Quentin Schulz via lists.yoctoproject.org wrote: > Hi Antonin, > > On 7/10/26 4:46 PM, Antonin Godard via lists.yoctoproject.org wrote: >> 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.*', >> +] >> + > > How about we replace them with archive links instead? e.g. from > web.archive.org? > > For patchwork, point at https://patchwork.ozlabs.org/project/patchwork/ > instead maybe or https://github.com/getpatchwork/patchwork? Good point, I'll try and replace those in a separate series, thanks! Antonin