From b02c9a0a94507eec834bd4785f23ae768c85f99a Mon Sep 17 00:00:00 2001 From: Tsvika Shapira Date: Thu, 20 Mar 2025 14:01:45 +0200 Subject: [PATCH 1/4] fix failing link --- AUTHORS.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/AUTHORS.rst b/AUTHORS.rst index 81e0b8e6..6df96cc7 100644 --- a/AUTHORS.rst +++ b/AUTHORS.rst @@ -9,7 +9,7 @@ Authors * Marc Abramowitz - \http://marc-abramowitz.com * Thomas Kluyver - https://github.com/takluyver * Guillaume Ayoub - http://www.yabz.fr -* Federico Ceratto - http://firelet.net +* Federico Ceratto - \http://firelet.net * Josh Kalderimis - \http://blog.cookiestack.com * Ionel Cristian Mărieș - https://blog.ionelmc.ro * Christian Ledermann - https://github.com/cleder From 2da9bb7d9bfe3e16a70bcba3e41e74c00a1abe0b Mon Sep 17 00:00:00 2001 From: Tsvika Shapira Date: Thu, 20 Mar 2025 14:18:03 +0200 Subject: [PATCH 2/4] Configure Sphinx to ignore GitHub comment anchors Add linkcheck_anchors_ignore setting to skip GitHub's dynamic comment anchors during documentation link validation. This prevents false positives in CI when checking links to GitHub issue comments, as GitHub injects these anchors dynamically in the web interface. --- docs/conf.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/docs/conf.py b/docs/conf.py index 0c054b29..69e3300a 100644 --- a/docs/conf.py +++ b/docs/conf.py @@ -39,6 +39,8 @@ html_split_index = False html_short_title = f'{project}-{version}' +linkcheck_anchors_ignore = ['^issuecomment-'] + napoleon_use_ivar = True napoleon_use_rtype = False napoleon_use_param = False From 72af9ef117ad77b007a4059c641b00ce443c89af Mon Sep 17 00:00:00 2001 From: Tsvika Shapira Date: Thu, 20 Mar 2025 15:23:29 +0200 Subject: [PATCH 3/4] ignore anchors for github --- docs/conf.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/conf.py b/docs/conf.py index 69e3300a..488e01bb 100644 --- a/docs/conf.py +++ b/docs/conf.py @@ -39,7 +39,7 @@ html_split_index = False html_short_title = f'{project}-{version}' -linkcheck_anchors_ignore = ['^issuecomment-'] +linkcheck_anchors_ignore_for_url = [r'https?://(www\.)?github\.com/.*'] napoleon_use_ivar = True napoleon_use_rtype = False From cc7eca28de371c505c71d8cfdd02ed54e7fbb57d Mon Sep 17 00:00:00 2001 From: Tsvika Shapira Date: Sun, 23 Mar 2025 12:18:39 +0200 Subject: [PATCH 4/4] add ^ to regex MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Co-authored-by: 🇺🇦 Sviatoslav Sydorenko (Святослав Сидоренко) --- docs/conf.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/docs/conf.py b/docs/conf.py index 488e01bb..4363a76b 100644 --- a/docs/conf.py +++ b/docs/conf.py @@ -39,7 +39,9 @@ html_split_index = False html_short_title = f'{project}-{version}' -linkcheck_anchors_ignore_for_url = [r'https?://(www\.)?github\.com/.*'] +linkcheck_anchors_ignore_for_url = [ + r'^https?://(www\.)?github\.com/.*', +] napoleon_use_ivar = True napoleon_use_rtype = False