From 86cd48846a346e3b219fe38ccace312bd4260c8b Mon Sep 17 00:00:00 2001 From: German <28149841+germa89@users.noreply.github.com> Date: Thu, 28 Nov 2024 11:26:08 +0100 Subject: [PATCH 1/5] fix: agent --- doc/source/conf.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/doc/source/conf.py b/doc/source/conf.py index 235c3db45b..8af2e716da 100755 --- a/doc/source/conf.py +++ b/doc/source/conf.py @@ -239,7 +239,7 @@ f"https://github.com/ansys/pymapdl/releases/tag/v{__version__}" ) -user_agent = """curl https://www.ansys.com -A "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/123.0.0.0 Safari/537.3""" +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 # The name of the Pygments (syntax highlighting) style to use. pygments_style = "sphinx" From b524f8a95fe3a3cc57d6e4d54a38280164513f70 Mon Sep 17 00:00:00 2001 From: German <28149841+germa89@users.noreply.github.com> Date: Thu, 28 Nov 2024 11:36:14 +0100 Subject: [PATCH 2/5] fix: cheatsheet links --- doc/source/getting_started/learning.rst | 2 +- doc/source/getting_started/project.rst | 5 +++-- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/doc/source/getting_started/learning.rst b/doc/source/getting_started/learning.rst index 5ab22e88b3..4e11737715 100644 --- a/doc/source/getting_started/learning.rst +++ b/doc/source/getting_started/learning.rst @@ -40,7 +40,7 @@ Downloads .. jinja:: cheat_sheet - - View and download :download:`PyMAPDL cheatsheet ` + - View and download :download:`PyMAPDL cheatsheet ` to help you to learn PyMAPDL. - Visit :ref:`ref_examples` to learn how PyMAPDL can be used to solve different real problems. diff --git a/doc/source/getting_started/project.rst b/doc/source/getting_started/project.rst index 9bf7d7d202..e0d7a29554 100644 --- a/doc/source/getting_started/project.rst +++ b/doc/source/getting_started/project.rst @@ -174,8 +174,9 @@ In the upper right corner of the documentation's title bar, there is an option f viewing the documentation for the latest stable release to viewing the documentation for the development version or previously released versions. -You can also `download `_ the PyMAPDL cheat sheet. This one-page reference provides -syntax rules and commands for using PyMAPDL. +You can also download the +:download:`PyMAPDL cheat sheet `. +This one-page reference provides syntax rules and commands for using PyMAPDL. On the `PyMAPDL Issues `_ page, you can create issues to report bugs and request new features. On the `PyMAPDL Discussions From 407f391cc0f21a978d305e09bdafd403cc0a202f Mon Sep 17 00:00:00 2001 From: pyansys-ci-bot <92810346+pyansys-ci-bot@users.noreply.github.com> Date: Thu, 28 Nov 2024 10:38:14 +0000 Subject: [PATCH 3/5] chore: adding changelog file 3589.fixed.md [dependabot-skip] --- doc/changelog.d/3589.fixed.md | 1 + 1 file changed, 1 insertion(+) create mode 100644 doc/changelog.d/3589.fixed.md diff --git a/doc/changelog.d/3589.fixed.md b/doc/changelog.d/3589.fixed.md new file mode 100644 index 0000000000..bc7f39a54b --- /dev/null +++ b/doc/changelog.d/3589.fixed.md @@ -0,0 +1 @@ +fix: linkchecker and cheatsheet links \ No newline at end of file From f8bcd3e6a2a54707251d05a93da044b93c5b9e55 Mon Sep 17 00:00:00 2001 From: German <28149841+germa89@users.noreply.github.com> Date: Fri, 29 Nov 2024 17:15:25 +0100 Subject: [PATCH 4/5] fix: skip checking ansys websites --- doc/source/conf.py | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/doc/source/conf.py b/doc/source/conf.py index 8af2e716da..f9565dd977 100755 --- a/doc/source/conf.py +++ b/doc/source/conf.py @@ -205,7 +205,7 @@ with open("links.rst") as f: rst_epilog += f.read() -rst_epilog = rst_epilog.replace("%%VERSION%%", "v231") +rst_epilog = rst_epilog.replace("%%VERSION%%", "v242") rst_epilog = rst_epilog.replace("%%PYMAPDLVERSION%%", release) @@ -219,8 +219,10 @@ linkcheck_ignore = [ "https://github.com/ansys/pymapdl/*", "https://mapdl.docs.pyansys.com/*", - "https://ansysaccount.b2clogin.com/*", # behind payfirewall - "https://ansyshelp.ansys.com/*", # behind payfirewall + "https://www.ansys.com/*", # behind firewall + " https://download.ansys.com/*", # behind firewall + "https://ansysaccount.b2clogin.com/*", # behind authentication + "https://ansyshelp.ansys.com/*", # behind authentication "https://forum.ansys.com/forums/*", # It is detected as broken "https://courses.ansys.com/*", # It is detected as broken ] From 6bf1d9094856c7c61d1ee96205f89bec19ee6062 Mon Sep 17 00:00:00 2001 From: German <28149841+germa89@users.noreply.github.com> Date: Fri, 29 Nov 2024 19:30:34 +0100 Subject: [PATCH 5/5] Update doc/source/conf.py --- doc/source/conf.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/doc/source/conf.py b/doc/source/conf.py index f9565dd977..d6b87ea018 100755 --- a/doc/source/conf.py +++ b/doc/source/conf.py @@ -220,7 +220,7 @@ "https://github.com/ansys/pymapdl/*", "https://mapdl.docs.pyansys.com/*", "https://www.ansys.com/*", # behind firewall - " https://download.ansys.com/*", # behind firewall + "https://download.ansys.com/*", # behind firewall "https://ansysaccount.b2clogin.com/*", # behind authentication "https://ansyshelp.ansys.com/*", # behind authentication "https://forum.ansys.com/forums/*", # It is detected as broken