From 2c3dfc4949a0b69b2a56d461c22771e381c4d710 Mon Sep 17 00:00:00 2001 From: Stan Ulbrych <89152624+StanFromIreland@users.noreply.github.com> Date: Thu, 8 May 2025 22:38:47 +0100 Subject: [PATCH 1/6] Exclude github.com --- conf.py | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/conf.py b/conf.py index 0319de4dd..322f203eb 100644 --- a/conf.py +++ b/conf.py @@ -92,10 +92,12 @@ ] linkcheck_ignore = [ + # Checks fail due to rate limits + r'https://github.com/.*', # The voters repo is private and appears as a 404 - 'https://github.com/python/voters', + #'https://github.com/python/voters', # The python-core team link is private, redirects to login - 'https://github.com/orgs/python/teams/python-core', + #'https://github.com/orgs/python/teams/python-core', # The Discourse groups are private unless you are logged in 'https://discuss.python.org/groups/staff', 'https://discuss.python.org/groups/moderators', From 74f70c954cb3f85483d9a02a47760daabeea6f36 Mon Sep 17 00:00:00 2001 From: Stan Ulbrych <89152624+StanFromIreland@users.noreply.github.com> Date: Thu, 8 May 2025 22:41:28 +0100 Subject: [PATCH 2/6] lint --- conf.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/conf.py b/conf.py index 322f203eb..0aa1dfda6 100644 --- a/conf.py +++ b/conf.py @@ -95,9 +95,9 @@ # Checks fail due to rate limits r'https://github.com/.*', # The voters repo is private and appears as a 404 - #'https://github.com/python/voters', + # 'https://github.com/python/voters', # The python-core team link is private, redirects to login - #'https://github.com/orgs/python/teams/python-core', + # 'https://github.com/orgs/python/teams/python-core', # The Discourse groups are private unless you are logged in 'https://discuss.python.org/groups/staff', 'https://discuss.python.org/groups/moderators', From 932f6984304506467bb4c443defcb160f976a154 Mon Sep 17 00:00:00 2001 From: Stan Ulbrych <89152624+StanFromIreland@users.noreply.github.com> Date: Thu, 8 May 2025 22:44:22 +0100 Subject: [PATCH 3/6] lint2 --- conf.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/conf.py b/conf.py index 0aa1dfda6..a655271d2 100644 --- a/conf.py +++ b/conf.py @@ -92,7 +92,7 @@ ] linkcheck_ignore = [ - # Checks fail due to rate limits + # Checks fail due to rate limits r'https://github.com/.*', # The voters repo is private and appears as a 404 # 'https://github.com/python/voters', From 506c146d6224b8ff2b36c1ca4229b594756692d1 Mon Sep 17 00:00:00 2001 From: Stan Ulbrych <89152624+StanFromIreland@users.noreply.github.com> Date: Thu, 8 May 2025 22:49:07 +0100 Subject: [PATCH 4/6] decomment --- conf.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/conf.py b/conf.py index a655271d2..6aac560ea 100644 --- a/conf.py +++ b/conf.py @@ -95,9 +95,9 @@ # Checks fail due to rate limits r'https://github.com/.*', # The voters repo is private and appears as a 404 - # 'https://github.com/python/voters', + 'https://github.com/python/voters', # The python-core team link is private, redirects to login - # 'https://github.com/orgs/python/teams/python-core', + 'https://github.com/orgs/python/teams/python-core', # The Discourse groups are private unless you are logged in 'https://discuss.python.org/groups/staff', 'https://discuss.python.org/groups/moderators', From a5c50d672c41990613284a8fd8555c1891d44428 Mon Sep 17 00:00:00 2001 From: Stan Ulbrych <89152624+StanFromIreland@users.noreply.github.com> Date: Fri, 9 May 2025 15:42:12 +0100 Subject: [PATCH 5/6] Update conf.py --- conf.py | 6 ------ 1 file changed, 6 deletions(-) diff --git a/conf.py b/conf.py index 6aac560ea..2fbc7c582 100644 --- a/conf.py +++ b/conf.py @@ -87,17 +87,11 @@ # Check the link itself, but ignore anchors that are added by JS # https://www.sphinx-doc.org/en/master/usage/configuration.html#confval-linkcheck_anchors_ignore_for_url linkcheck_anchors_ignore_for_url = [ - # GitHub - r'https://github.com/.*', ] linkcheck_ignore = [ # Checks fail due to rate limits r'https://github.com/.*', - # The voters repo is private and appears as a 404 - 'https://github.com/python/voters', - # The python-core team link is private, redirects to login - 'https://github.com/orgs/python/teams/python-core', # The Discourse groups are private unless you are logged in 'https://discuss.python.org/groups/staff', 'https://discuss.python.org/groups/moderators', From 58566aff7e552bbd377fc5e1986c71db191195b5 Mon Sep 17 00:00:00 2001 From: Stan Ulbrych Date: Fri, 9 May 2025 20:59:01 +0100 Subject: [PATCH 6/6] Clean up empty conf --- conf.py | 5 ----- 1 file changed, 5 deletions(-) diff --git a/conf.py b/conf.py index 2fbc7c582..769cd19d1 100644 --- a/conf.py +++ b/conf.py @@ -84,11 +84,6 @@ r'\/.*', ] -# Check the link itself, but ignore anchors that are added by JS -# https://www.sphinx-doc.org/en/master/usage/configuration.html#confval-linkcheck_anchors_ignore_for_url -linkcheck_anchors_ignore_for_url = [ -] - linkcheck_ignore = [ # Checks fail due to rate limits r'https://github.com/.*',