Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fixing linkcheck CICD #2240

Merged
merged 23 commits into from
Aug 16, 2023
Merged

Fixing linkcheck CICD #2240

merged 23 commits into from
Aug 16, 2023

Conversation

germa89
Copy link
Collaborator

@germa89 germa89 commented Aug 11, 2023

Close #2232

@germa89 germa89 self-assigned this Aug 11, 2023
@germa89 germa89 marked this pull request as draft August 11, 2023 12:06
@codecov
Copy link

codecov bot commented Aug 11, 2023

Codecov Report

Merging #2240 (d3b45cc) into main (e3885fb) will increase coverage by 1.33%.
Report is 88 commits behind head on main.
The diff coverage is 93.92%.

@@            Coverage Diff             @@
##             main    #2240      +/-   ##
==========================================
+ Coverage   86.39%   87.73%   +1.33%     
==========================================
  Files          45       45              
  Lines        7977     8338     +361     
==========================================
+ Hits         6892     7315     +423     
+ Misses       1085     1023      -62     

@germa89 germa89 changed the title Fixing linkcheck cicd Fixing linkcheck CICD Aug 11, 2023
@germa89 germa89 requested a review from clatapie August 12, 2023 09:41
@germa89
Copy link
Collaborator Author

germa89 commented Aug 14, 2023

Finally a decent run:

api/unit_testing.rst:138                                            | broken                | ansys.mapdl.core.component.ComponentManager:                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                |               |
api/launcher.rst:5                                                  | redirected permanently| http://path.tools.docs.pyansys.com/ to https://path.tools.docs.pyansys.com/                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                 |               |
examples/extended_examples/executable/executable.rst:35             | redirected with Found | https://click.palletsprojects.com to https://click.palletsprojects.com/en/8.1.x/                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            |               |
getting_started/using_julia.rst:76                                  | redirected with Found | https://conda.io to https://docs.conda.io/en/latest/                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        |               |
getting_started/wsl.rst:127                                         | redirected with Found | https://answers.microsoft.com/en-us/windows/forum/all/how-to-open-port-in-windows-10-firewall/f38f67c8-23e8-459d-9552-c1b94cca579a/ to https://login.microsoftonline.com/common/oauth2/v2.0/authorize?client_id=a81d90ac-aa75-4cf8-b14c-58bf348528fe&redirect_uri=https%3A%2F%2Fanswers.microsoft.com&response_type=code%20id_token&scope=openid%20profile&state=OpenIdConnect.AuthenticationProperties%3DN7En2alZmu3xFVOTkcGC8pVz0N7Su6LWqJem1iymN5OGUwok3W4l-ZIRwBNTeZtNZiN0X5cTXXQLMEqQJc44wDLWg-q6it7K-HFsJeaphZ_XEMC9o8zhh976HHOqxM4iNRHJUMJ9Kw8CuJyxp5KxUC2Co_BnOfI4zTFZ3TLXAf1NmmBCPBPrknJLztJF6ayrjoPzIv72E72_25ugh5Ih0Axpz6cA2QYKiS_lLaODptmBUIFsbp7SjW3qIC6SeRDWXAbIV-Q1vRq-9l5qSjAXLmzxanDlufIIbITtSMxLIb37uta6eWoJDtpJN6oCiXYk01QVHJqRXRotMiQ1iko8m0Rftzs84SbZjZ12fHkquIfRZESHK-TusYP56uIGasEt&response_mode=form_post&nonce=638276241530216596.ODMzNTA4YmMtY2Y4Ni00OThhLWE0OTItMTc0NTcyMmI5ODBlMjEyMTVlOGUtZGY5OS00NTM4LWFkY2QtYWY5OGUyOTE4Mzg2&nopa=2&prompt=none&x-client-SKU=ID_NET472&x-client-ver=6.17.0.0|               |
getting_started/docker.rst:198                                      | broken                | https://docs.docker.com/compose/..                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          | pyansyscontact| replace::`PyAnsysCoreteam<pyansys_core_>`_: 404 Client Error: Not Found for url: https://docs.docker.com/compose/..%7Cpyansyscontact%7Creplace::%60PyAnsysCoreteam%3Cpyansys_core_%3E%60_
getting_started/wsl.rst:13                                          | redirected permanently| https://docs.microsoft.com/en-us/windows/wsl/about to https://learn.microsoft.com/en-us/windows/wsl/about                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   |               |
getting_started/wsl.rst:32                                          | redirected permanently| https://docs.microsoft.com/en-us/windows/wsl/install/ to https://learn.microsoft.com/en-us/windows/wsl/install                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              |               |
user_guide/post.rst:19                                              | broken                | https://github.com/ansys/DPF-Core: 404 Client Error: Not Found for url: https://github.com/ansys/DPF-Core                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   |               |
user_guide/post.rst:19                                              | broken                | https://github.com/ansys/DPF-Post: 404 Client Error: Not Found for url: https://github.com/ansys/DPF-Post                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   |               |
api/_autosummary/ansys.mapdl.core.plotting.general_plotter.rst:231  | redirected permanently| https://github.com/pyansys/pymapdl to https://github.com/ansys/pymapdl                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      |               |
getting_started/versioning.rst:39                                   | redirected permanently| https://github.com/pyansys/pymapdl-corba to https://github.com/ansys/pymapdl-corba                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          |               |
examples/gallery_examples/00-mapdl-examples/pressure_vessel.rst:324 | redirected permanently| https://github.com/pyansys/pymapdl-reader to https://github.com/ansys/pymapdl-reader                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        |               |
api/building_example.rst:18                                         | redirected permanently| https://github.com/pyansys/pymapdl/blob/main/doc/source/conf.py to https://github.com/ansys/pymapdl/blob/main/doc/source/conf.py                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            |               |
getting_started/devcontainer_link.rst:7                             | redirected permanently| https://github.com/pyansys/pymapdl/tree/main/.devcontainer to https://github.com/ansys/pymapdl/tree/main/.devcontainer                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      |               |
getting_started/make_container_link.rst:28                          | redirected permanently| https://github.com/pyansys/pymapdl/tree/main/docker/.dockerignore to https://github.com/ansys/pymapdl/blob/main/docker/.dockerignore                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        |               |
getting_started/devcontainer_link.rst:42                            | redirected permanently| https://github.com/pyansys/pymapdl/tree/main/.devcontainer/docker-compose.yml to https://github.com/ansys/pymapdl/blob/main/.devcontainer/docker-compose.yml                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                |               |
getting_started/make_container_link.rst:27                          | redirected permanently| https://github.com/pyansys/pymapdl/tree/main/docker/Dockerfile to https://github.com/ansys/pymapdl/blob/main/docker/Dockerfile                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              |               |
getting_started/docker.rst:48                                       | redirected permanently| https://help.github.com/en/github/authenticating-to-github/creating-a-personal-access-token to https://docs.github.com/en/authentication/keeping-your-account-and-data-secure/managing-your-personal-access-tokens                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          |               |
examples/extended_examples/executable/executable.rst:107            | redirected with Found | https://pyinstaller.org to https://pyinstaller.org/en/stable/                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               |               |
getting_started/make_container_link.rst:37                          | redirected with Found | https://download.ansys.com/Current%20Release to https://ansysaccount.b2clogin.com/ansysaccount.onmicrosoft.com/b2c_1a_ansysid_signup_signin/oauth2/v2.0/authorize?client_id=673584e5-f6f6-4f0f-94cd-2f73de451161&redirect_uri=https%3A%2F%2Fsupport.ansys.com%2F&response_mode=form_post&response_type=code%20id_token&scope=openid&state=OpenIdConnect.AuthenticationProperties%3DIO0_QGcprB9EmUKg8eFgSz7bAhNi8h37zqIJxn_yaNl7VvUccNWYjmiBpxeBfNyErOuQTz4UdzNpMVV1zsfPGuaFQvFWwc0K43Ge5RLemXVMpzSUuKPqqL9IqsEmVvpYEDu1h6Kql-J5AsWUD0Pdn_6x_jMc8sLwjlh0my2Wn4rCd7QDuDUWtXFkqThSNcotBhUIiDYB4SO6E94AcnY3UVUNN8SDfInk35HduJ6SRnMR7_Eb&nonce=638276247088225949.Y2FhODZiODEtYzJjNy00NWYwLTg3ZTQtODlmZjQyNjg4ZWQ0MWYzMmRmODItZTcwOC00YzQzLThkYmMtY2VmM2ZmZDQ3Nzdi&x-client-SKU=ID_NET461&x-client-ver=5.3.0.0                                                                                                                                                                                                                   |               |
examples/gallery_examples/00-mapdl-examples/cyclic_analysis.rst:567 | broken                | https://reader.docs.pyansys.com/examples/01-cyclic_results/academic_sector_nd.html: 404 Client Error: Not Found for url: https://reader.docs.pyansys.com/examples/01-cyclic_results/academic_sector_nd.html                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                 |               |
examples/extended_examples/executable/executable.rst:167            | redirected with Found | https://www.imagemagick.org to https://imagemagick.org/index.php                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            |               |
examples/gallery_examples/00-mapdl-examples/cyclic_analysis.rst:557 | redirected with Found | https://www.mdpi.com/2076-3417/11/12/5437/pdf to https://mdpi-res.com/d_attachment/applsci/applsci-11-05437/article_deploy/applsci-11-05437-v2.pdf?version=1623729267                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                       |               |
user_guide/troubleshoot.rst:179                                     | redirected permanently| https://www.padtinc.com/blog/15271-2/ to https://www.padtinc.com/2020/05/07/15271-2/                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        |               |
examples/gallery_examples/00-mapdl-examples/transient_thermal.rst:31| redirected permanently| https://www.simutechgroup.com/tips-and-tricks/fea-articles/97-fea-tips-tricks-thermal-transient to https://simutechgroup.com/transient-thermal-analysis-with-non-physical-temperature-results                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               |               |

@germa89 germa89 marked this pull request as ready for review August 14, 2023 16:24
@germa89 germa89 enabled auto-merge (squash) August 14, 2023 16:24
@germa89
Copy link
Collaborator Author

germa89 commented Aug 14, 2023

I had to document several __init__ methods because Sphinx was complaining.

Copy link
Contributor

@clatapie clatapie left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM!

@germa89 germa89 merged commit 569e7ea into main Aug 16, 2023
22 of 23 checks passed
@germa89 germa89 deleted the fix/linkcheck-cicd branch August 16, 2023 06:33
@germa89
Copy link
Collaborator Author

germa89 commented Aug 16, 2023

Nice time to be alive! https://github.com/ansys/pymapdl/actions/runs/5875596770

GitHub
Pythonic interface to MAPDL. Contribute to ansys/pymapdl development by creating an account on GitHub.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

LinkChecker workflow does not work
2 participants