From c429cfa3b2fbc9e443849e8b346a866e620a104d Mon Sep 17 00:00:00 2001 From: Michal Nowak Date: Fri, 24 Jan 2025 14:24:09 +0100 Subject: [PATCH] Disable anchor checking for GitHub --- doc/arm/conf.py | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/doc/arm/conf.py b/doc/arm/conf.py index d3c27e4dc8..818dd335e4 100644 --- a/doc/arm/conf.py +++ b/doc/arm/conf.py @@ -227,6 +227,11 @@ linkcheck_ignore = [ "https://www.godaddy.com", "https://www.icann.org", ] +# Anchors checking does not work for GitHub, see +# https://github.com/pypa/packaging.python.org/issues/1272. +linkcheck_anchors_ignore_for_url = [ + "https://.*github.*", +] # # The rst_epilog will be completely overwritten from the Makefile,