From f9d113367237711ab2d56ef7dad9c17902dccc5c Mon Sep 17 00:00:00 2001 From: Roberto Pastor Muela <37798125+RobPasMue@users.noreply.github.com> Date: Wed, 16 Oct 2024 08:36:07 +0200 Subject: [PATCH 1/3] fix: unreachable link --- doc/source/conf.py | 1 + 1 file changed, 1 insertion(+) diff --git a/doc/source/conf.py b/doc/source/conf.py index c798f7ea1..304b23b18 100644 --- a/doc/source/conf.py +++ b/doc/source/conf.py @@ -101,6 +101,7 @@ linkcheck_ignore = [ r"https://github.com/ansys-internal/.*", r"https://pkgs.dev.azure.com/pyansys/_packaging/pyansys/pypi/*", + "https://opensource.org/blog/license/mit", # 403 - protected from bots ] # Auxiliary routines for automatic documentation generation From 661bc53210e436bedcedce27d83ea9c2711548b3 Mon Sep 17 00:00:00 2001 From: Roberto Pastor Muela <37798125+RobPasMue@users.noreply.github.com> Date: Wed, 16 Oct 2024 08:52:46 +0200 Subject: [PATCH 2/3] fix: attempt ot use user-agent --- doc/source/conf.py | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/doc/source/conf.py b/doc/source/conf.py index 304b23b18..344411866 100644 --- a/doc/source/conf.py +++ b/doc/source/conf.py @@ -101,9 +101,12 @@ linkcheck_ignore = [ r"https://github.com/ansys-internal/.*", r"https://pkgs.dev.azure.com/pyansys/_packaging/pyansys/pypi/*", - "https://opensource.org/blog/license/mit", # 403 - protected from bots + # "https://opensource.org/blog/license/mit", # 403 - protected from bots ] +# Defining user-agent for linkcheck +user_agent = "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/123.0.0.0 Safari/537.36 Edg/123.0.2420.81" # noqa: E501 + # Auxiliary routines for automatic documentation generation From ec43de54a6de4682e16188c36dad341f7fe37db8 Mon Sep 17 00:00:00 2001 From: Roberto Pastor Muela <37798125+RobPasMue@users.noreply.github.com> Date: Wed, 16 Oct 2024 09:04:56 +0200 Subject: [PATCH 3/3] Revert "fix: attempt ot use user-agent" This reverts commit 661bc53210e436bedcedce27d83ea9c2711548b3. --- doc/source/conf.py | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/doc/source/conf.py b/doc/source/conf.py index 344411866..304b23b18 100644 --- a/doc/source/conf.py +++ b/doc/source/conf.py @@ -101,12 +101,9 @@ linkcheck_ignore = [ r"https://github.com/ansys-internal/.*", r"https://pkgs.dev.azure.com/pyansys/_packaging/pyansys/pypi/*", - # "https://opensource.org/blog/license/mit", # 403 - protected from bots + "https://opensource.org/blog/license/mit", # 403 - protected from bots ] -# Defining user-agent for linkcheck -user_agent = "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/123.0.0.0 Safari/537.36 Edg/123.0.2420.81" # noqa: E501 - # Auxiliary routines for automatic documentation generation