From 47a49252ba600e043cda685bdce238bf83770728 Mon Sep 17 00:00:00 2001 From: parulin <161326115+parulin@users.noreply.github.com> Date: Mon, 4 Aug 2025 16:02:36 -0400 Subject: [PATCH] Add minimal configuration for linkcheck builder * Avoid checking .onion domains. * Do not download links to check anchors --- conf.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/conf.py b/conf.py index 450a1629..7688c666 100644 --- a/conf.py +++ b/conf.py @@ -87,6 +87,10 @@ html_static_path = ['attachment/doc'] html_use_opensearch = "https://doc.qubes-os.org" +# -- -- Options for the linkcheck builder ------------------------------------ + +linkcheck_anchors = False +linkcheck_ignore = [r'^https?://[^/\s]+\.onion'] # -- Extensions configuration ------------------------------------------------