From 88d146aca8d562a454fc12223fd44d89a4c8d581 Mon Sep 17 00:00:00 2001 From: Moritz Barsnick Date: Wed, 19 Aug 2026 11:18:14 +0200 Subject: [PATCH] Link check: disable check for local file Explicitly disable checking a local file link, as sphinx has a known issue. Signed-off-by: Moritz Barsnick --- docs/source/conf.py | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/docs/source/conf.py b/docs/source/conf.py index fc73676..be5e83b 100644 --- a/docs/source/conf.py +++ b/docs/source/conf.py @@ -53,3 +53,8 @@ # https://www.sphinx-doc.org/en/master/usage/configuration.html#options-for-the-linkcheck-builder linkcheck_anchors = False +# workaround for https://github.com/sphinx-doc/sphinx/issues/9383, unfixed in sphinx <= 9.1.0 +# "Linkcheck marks local links broken when they reference files produced later, during in HTML building" +linkcheck_ignore = [ + r'.*/chargebyte-keyring\.pem$', +]