docs: only link to old docs from html
authorErik Faye-Lund <erik.faye-lund@collabora.com>
Fri, 6 Oct 2023 09:29:46 +0000 (11:29 +0200)
committerMarge Bot <emma+marge@anholt.net>
Mon, 9 Oct 2023 11:54:12 +0000 (11:54 +0000)
commit527e17a0c4fac4b0910c367da7b0f5416c117b04
tree57470ba56f6c7cafef8bae6f99aab24bfcffdc07
parentd01ca323dd0dbc470d76ebcb0c3a2b58c7e2b17b
docs: only link to old docs from html

Only the HTML builder knows about these files, so we can't really link
to them when using other builders. This only matter to the link-checker
right now, because that's the only other builder we use.

It's a bit sad that we can't linkcheck files like these, but it doesn't
work either way. Another way of making it work could be to use the
download-role for these files. I'm not sure I think that's any better,
as that makes the code read a bit more confusingly to me; the intent
isn't to *download* the files, but to view them as raw-text.

I could go either way here, though. Neither is fantastic IMO, but
neither is a disaster either.

Reviewed-by: Corentin Noël <corentin.noel@collabora.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/25585>
docs/relnotes.rst