From 12f2f263b53d05a4f98434b0984038e620f92824 Mon Sep 17 00:00:00 2001 From: Roberto Pastor Muela <37798125+RobPasMue@users.noreply.github.com> Date: Tue, 16 May 2023 15:16:00 +0200 Subject: [PATCH] fix: PyAnsys ref move (#258) --- .github/workflows/ci-build.yml | 16 +++++++-------- README.rst | 8 ++++---- doc/source/conf.py | 6 +++--- doc/source/getting_started.rst | 2 +- doc/source/links.rst | 36 +++++++++++++++++----------------- pyproject.toml | 2 +- 6 files changed, 35 insertions(+), 35 deletions(-) diff --git a/.github/workflows/ci-build.yml b/.github/workflows/ci-build.yml index cb219f47..1a5bb24b 100644 --- a/.github/workflows/ci-build.yml +++ b/.github/workflows/ci-build.yml @@ -25,7 +25,7 @@ jobs: runs-on: ubuntu-latest steps: - name: PyAnsys Licenses Check - uses: pyansys/actions/check-licenses@main + uses: ansys/actions/check-licenses@main with: python-version: ${{ env.MAIN_PYTHON_VERSION }} target: "all" @@ -35,7 +35,7 @@ jobs: runs-on: ubuntu-latest steps: - name: PyAnsys documentation style checks - uses: pyansys/actions/doc-style@v4 + uses: ansys/actions/doc-style@v4 with: token: ${{ secrets.GITHUB_TOKEN }} @@ -105,7 +105,7 @@ jobs: steps: - name: Build wheelhouse and perform smoke test - uses: pyansys/actions/build-wheelhouse@v4 + uses: ansys/actions/build-wheelhouse@v4 with: library-name: ${{ env.PACKAGE_NAME }} library-namespace: ${{ env.PACKAGE_NAMESPACE }} @@ -132,13 +132,13 @@ jobs: steps: - name: Build documentation - uses: pyansys/actions/doc-build@v4 + uses: ansys/actions/doc-build@v4 with: python-version: ${{ env.MAIN_PYTHON_VERSION }} dependencies: "build-essential zip pandoc texlive-latex-extra latexmk texlive-pstricks" - name: Deploy the latest documentation - uses: pyansys/actions/doc-deploy-dev@v4 + uses: ansys/actions/doc-deploy-dev@v4 if: github.ref == 'refs/heads/main' with: cname: ${{ env.DOCUMENTATION_CNAME }} @@ -150,7 +150,7 @@ jobs: needs: [docs-build, smoke-tests-core] steps: - name: Build library source and wheel artifacts - uses: pyansys/actions/build-library@v4 + uses: ansys/actions/build-library@v4 with: library-name: ${{ env.PACKAGE_NAME }} python-version: ${{ env.MAIN_PYTHON_VERSION }} @@ -162,14 +162,14 @@ jobs: runs-on: ubuntu-latest steps: - name: Release to PyPI repository - uses: pyansys/actions/release-pypi-public@v4 + uses: ansys/actions/release-pypi-public@v4 with: library-name: ${{ env.PACKAGE_NAME }} twine-username: __token__ twine-token: ${{ secrets.PYPI_TOKEN }} - name: Release to GitHub - uses: pyansys/actions/release-github@v4 + uses: ansys/actions/release-github@v4 with: library-name: ${{ env.PACKAGE_NAME }} additional-artifacts: 'all-deps-Linux-3.8 all-deps-Linux-3.9 all-deps-Linux-3.10 all-deps-Linux-3.11 all-deps-Windows-3.8 all-deps-Windows-3.9 all-deps-Windows-3.10 all-deps-Windows-3.11 all-deps-macOS-3.8 all-deps-macOS-3.9 all-deps-macOS-3.10 all-deps-macOS-3.11' diff --git a/README.rst b/README.rst index 74c7e6bb..00d87128 100644 --- a/README.rst +++ b/README.rst @@ -14,8 +14,8 @@ PyAnsys metapackage :target: https://pypi.org/project/pyansys/ :alt: PyPI -.. |GH-CI| image:: https://github.com/pyansys/pyansys/actions/workflows/ci-build.yml/badge.svg - :target: https://github.com/pyansys/pyansys/actions/workflows/ci-build.yml +.. |GH-CI| image:: https://github.com/ansys/pyansys/actions/workflows/ci-build.yml/badge.svg + :target: https://github.com/ansys/pyansys/actions/workflows/ci-build.yml :alt: GH-CI .. |MIT| image:: https://img.shields.io/badge/License-MIT-yellow.svg @@ -57,7 +57,7 @@ The ``pyansys`` metapackage ensures compatibility between these PyAnsys packages - `Shared Components `_: Shared Ansys software components to enable package interoperability and minimize maintenance. Much effort is underway to continue expanding and developing packages in the -`PyAnsys GitHub `__ account. On the ``Issues`` page +`PyAnsys GitHub `__ account. On the ``Issues`` page for each package, you can post issues and request new features. You can also feel free to post a question on the [Ansys Developer Forums](https://discuss.ansys.com/). @@ -127,7 +127,7 @@ Offline mode installation If you lack an internet connection on your installation machine, the recommended way of installing the ``pyansys`` metapackage is downloading the wheelhouse archive from the -`Releases Page `_ for your corresponding machine architecture. +`Releases Page `_ for your corresponding machine architecture. Each wheelhouse archive contains all the Python wheels necessary to install the ``pyansys`` metapackage from scratch on Windows, Linux, and MacOS from Python 3.8 to 3.11. You can install this on an isolated system with diff --git a/doc/source/conf.py b/doc/source/conf.py index 00ae1039..d1181aca 100755 --- a/doc/source/conf.py +++ b/doc/source/conf.py @@ -26,14 +26,14 @@ ] html_context = { - "github_user": "pyansys", + "github_user": "ansys", "github_repo": "pyansys", "github_version": "main", "doc_path": "doc/source", } html_theme_options = { - "github_url": "https://github.com/pyansys", + "github_url": "https://github.com/ansys", "show_prev_next": False, "show_breadcrumbs": True, # "collapse_navigation": True, @@ -41,7 +41,7 @@ "icon_links": [ # { # "name": "Support", - # "url": "https://github.com/pyansys/pymapdl/discussions", + # "url": "https://github.com/ansys/pyansys/discussions", # "icon": "fa fa-comment fa-fw", # }, { diff --git a/doc/source/getting_started.rst b/doc/source/getting_started.rst index ee0d2ad7..d0eb0d8e 100644 --- a/doc/source/getting_started.rst +++ b/doc/source/getting_started.rst @@ -75,7 +75,7 @@ Offline mode installation If you lack an internet connection on your installation machine, the recommended way of installing the ``pyansys`` metapackage is downloading the wheelhouse archive from the `Releases Page -`_ for your corresponding machine +`_ for your corresponding machine architecture. Each wheelhouse archive contains all the Python wheels necessary to install diff --git a/doc/source/links.rst b/doc/source/links.rst index 08fd51e8..6e847563 100644 --- a/doc/source/links.rst +++ b/doc/source/links.rst @@ -3,12 +3,12 @@ .. _pyansys_support: pyansys.support@ansys.com .. #Other projects -.. _dpf_core_gh: https://github.com/pyansys/DPF-Core -.. _dpf_post_gh: https://github.com/pyansys/DPF-Post +.. _dpf_core_gh: https://github.com/ansys/DPF-Core +.. _dpf_post_gh: https://github.com/ansys/DPF-Post .. _dpf_core_docs: https://dpf.docs.pyansys.com/ .. _dpf_post_docs: https://post.docs.pyansys.com/ .. _legacy_reader_docs: https://reader.docs.pyansys.com/ -.. _example_data_repo: https://github.com/pyansys/example-data +.. _example_data_repo: https://github.com/ansys/example-data .. #PyAnsys Developer Guide .. _dev_guide_pyansys: https://dev.docs.pyansys.com/ @@ -37,7 +37,7 @@ .. # TechDemos related .. _tech_demo_intro: https://ansyshelp.ansys.com/Views/Secured/corp/v212/en/ans_tec/tecintro.html -.. _tech_demo_repo: https://github.com/pyansys/pymapdl-examples +.. _tech_demo_repo: https://github.com/ansys/pymapdl-examples .. _tech_demos_doc: https://examples.mapdl.docs.pyansys.com/ .. #Ansys internal documentation @@ -74,31 +74,31 @@ .. #PyMAPDL related .. _pymapdl_main: pymapdl_docs_ .. _pymapdl_pypi: https://pypi.org/project/ansys-mapdl-core/ -.. _pymapdl_releases: https://github.com/pyansys/pymapdl/releases +.. _pymapdl_releases: https://github.com/ansys/pymapdl/releases .. _pymapdl_run_ubuntu: https://mapdl.docs.pyansys.com/troubleshoot/troubleshoot.html?#ubuntu -.. _pymapdl_issues: https://github.com/pyansys/pymapdl/issues -.. _pymapdl_repo: https://github.com/pyansys/pymapdl +.. _pymapdl_issues: https://github.com/ansys/pymapdl/issues +.. _pymapdl_repo: https://github.com/ansys/pymapdl .. _pymapdl_docs: https://mapdl.docs.pyansys.com/ .. _pymapdl_dev_docs: https://dev.mapdl.docs.pyansys.com/ -.. _pymapdl_discussions: https://github.com/pyansys/PyMAPDL/discussions +.. _pymapdl_discussions: https://github.com/ansys/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_tests: https://github.com/ansys/pymapdl/tree/main/tests +.. _pymapdl_test_math: https://github.com/ansys/pymapdl/blob/main/tests/test_math.py .. _pymapdl_user_guide_math: https://mapdl.docs.pyansys.com/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 +.. _mapdl_fixture: https://github.com/ansys/pymapdl/blob/fb5fb8b6201253f1bd56bdabee60a29abee8c7d8/tests/conftest.py#L254 +.. _pymapdl_examples: https://github.com/ansys/pymapdl/tree/main/examples +.. _pymapdl_2d_plate_with_a_hole: https://github.com/ansys/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/examples/gallery_examples/00-mapdl-examples/2d_plate_with_a_hole.html .. _pymapdl_doc_krylov_example: https://dev.mapdl.docs.pyansys.com/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_doc_source: https://github.com/ansys/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_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 -.. _pymapdl_docker_compose_license_server: https://github.com/pyansys/pymapdl/blob/main/docker/docker-compose.license_server.yml +.. _pymapdl_docker_dir: https://github.com/ansys/pymapdl/blob/main/docker +.. _pymapdl_docker_compose_base: https://github.com/ansys/pymapdl/blob/main/docker/docker-compose.yml +.. _pymapdl_docker_compose_local: https://github.com/ansys/pymapdl/blob/main/docker/docker-compose.local.yml +.. _pymapdl_docker_compose_license_server: https://github.com/ansys/pymapdl/blob/main/docker/docker-compose.license_server.yml .. #Python .. _using_venv: https://docs.python.org/3/library/venv.html diff --git a/pyproject.toml b/pyproject.toml index ec5a2a58..112fdea3 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -67,7 +67,7 @@ doc = [ ] [project.urls] -Source = "https://github.com/pyansys/pyansys" +Source = "https://github.com/ansys/pyansys" Documentation = "https://docs.pyansys.com" [tool.flit.module]