Skip to content

Commit

Permalink
Implementing pyansys/actions v0.4 (#1961)
Browse files Browse the repository at this point in the history
* Updating pyansys actions calls.

* Changing conf.py

* Updating links

* fixing dev link

* Applying Revathy suggestions.
  • Loading branch information
germa89 authored Apr 4, 2023
1 parent e395fbc commit 71d326f
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 12 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: "PyAnsys documentation style checks"
uses: pyansys/actions/doc-style@v3.0.8
uses: pyansys/actions/doc-style@v4
with:
token: ${{ secrets.GITHUB_TOKEN }}

Expand All @@ -71,7 +71,7 @@ jobs:
os: macos-latest
steps:
- name: "Build wheelhouse and perform smoke test"
uses: pyansys/actions/build-wheelhouse@v3.0.8
uses: pyansys/actions/build-wheelhouse@v4
with:
library-name: ${{ env.PACKAGE_NAME }}
library-namespace: ${{ env.PACKAGE_NAMESPACE }}
Expand Down Expand Up @@ -616,7 +616,7 @@ jobs:
needs: [release]
steps:
- name: Deploy the stable documentation
uses: pyansys/actions/doc-deploy-stable@v3.0.8
uses: pyansys/actions/doc-deploy-stable@v4
with:
cname: ${{ env.DOCUMENTATION_CNAME }}
token: ${{ secrets.GITHUB_TOKEN }}
Expand Down
3 changes: 1 addition & 2 deletions doc/source/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -214,10 +214,9 @@
},
],
"switcher": {
"json_url": f"https://{cname}/release/versions.json",
"json_url": f"https://{cname}/versions.json",
"version_match": get_version_match(__version__),
},
"navbar_end": ["version-switcher", "theme-switcher", "navbar-icon-links"],
}

html_context = {
Expand Down
14 changes: 7 additions & 7 deletions doc/source/links.rst
Original file line number Diff line number Diff line change
Expand Up @@ -83,26 +83,26 @@
.. _pymapdl_main: pymapdl_docs_
.. _pymapdl_pypi: https://pypi.org/project/ansys-mapdl-core/
.. _pymapdl_releases: https://github.com/pyansys/pymapdl/releases
.. _pymapdl_run_ubuntu: https://mapdl.docs.pyansys.com/dev/user_guide/troubleshoot.html#ubuntu
.. _pymapdl_run_ubuntu: https://mapdl.docs.pyansys.com/version/dev/user_guide/troubleshoot.html#ubuntu
.. _pymapdl_issues: https://github.com/pyansys/pymapdl/issues
.. _pymapdl_repo: https://github.com/pyansys/pymapdl
.. _pymapdl_docs: https://mapdl.docs.pyansys.com/dev/
.. _pymapdl_dev_docs: https://mapdl.docs.pyansys.com/dev/
.. _pymapdl_docs: https://mapdl.docs.pyansys.com/version/stable/
.. _pymapdl_dev_docs: https://mapdl.docs.pyansys.com/version/dev/
.. _pymapdl_discussions: https://github.com/pyansys/PyMAPDL/discussions
.. _pymapdl_cheatsheet: ./_assets/Cheat_Sheet_PyMAPDL.pdf
.. _pymapdl_tests: https://github.com/pyansys/pymapdl/tree/main/tests
.. _pymapdl_test_math: https://github.com/pyansys/pymapdl/blob/main/tests/test_math.py
.. _pymapdl_user_guide_math: https://mapdl.docs.pyansys.com/dev/user_guide/math.html
.. _pymapdl_user_guide_math: https://mapdl.docs.pyansys.com/version/dev/user_guide/math.html
.. _licensing_guide_pdf: ./_assets/lic_guide.pdf
.. _mapdl_fixture: https://github.com/pyansys/pymapdl/blob/fb5fb8b6201253f1bd56bdabee60a29abee8c7d8/tests/conftest.py#L254
.. _pymapdl_examples: https://github.com/pyansys/pymapdl/tree/main/examples
.. _pymapdl_2d_plate_with_a_hole: https://github.com/pyansys/pymapdl/blob/main/examples/00-mapdl-examples/2d_plate_with_a_hole.py
.. _pymapdl_doc_2d_plate_with_a_hole: https://mapdl.docs.pyansys.com/dev/examples/gallery_examples/00-mapdl-examples/2d_plate_with_a_hole.html
.. _pymapdl_doc_krylov_example: https://dev.mapdl.docs.pyansys.com/dev/examples/extended_examples/Krylov/krylov_example.html
.. _pymapdl_doc_2d_plate_with_a_hole: https://mapdl.docs.pyansys.com/version/stable/examples/gallery_examples/00-mapdl-examples/2d_plate_with_a_hole.html
.. _pymapdl_doc_krylov_example: https://dev.mapdl.docs.pyansys.com/version/stable/examples/extended_examples/Krylov/krylov_example.html
.. _pymapdl_doc_krylov_example_rst: https://raw.githubusercontent.com/pyansys/pymapdl/main/doc/source/examples/extended_examples/Krylov/krylov_example.rst
.. _pymapdl_doc_source: https://github.com/pyansys/pymapdl/tree/main/doc/source
.. _pymapdl_techdemo_28_rst: https://raw.githubusercontent.com/pyansys/pymapdl-examples/main/doc/source/technology_showcase_examples/techdemo-28/ex_28-tecfricstir.rst
.. _pymapdl_techdemo_28: https://examples.mapdl.docs.pyansys.com/technology_showcase_examples/techdemo-28/ex_28-tecfricstir.html
.. _pymapdl_techdemo_28: https://examples.mapdl.docs.pyansys.com/version/stable/technology_showcase_examples/techdemo-28/ex_28-tecfricstir.html
.. _pymapdl_docker_dir: https://github.com/pyansys/pymapdl/blob/main/docker
.. _pymapdl_docker_compose_base: https://github.com/pyansys/pymapdl/blob/main/docker/docker-compose.yml
.. _pymapdl_docker_compose_local: https://github.com/pyansys/pymapdl/blob/main/docker/docker-compose.local.yml
Expand Down

0 comments on commit 71d326f

Please sign in to comment.