diff --git a/.ci/run_vms.py b/.ci/run_vms.py deleted file mode 100644 index 8b1e7f8262..0000000000 --- a/.ci/run_vms.py +++ /dev/null @@ -1,15 +0,0 @@ -"""Run some vm manuals""" -from ansys.mapdl.core import launch_mapdl -from ansys.mapdl.core.examples import vmfiles - -mapdl = launch_mapdl(start_timeout=100) - -vms = list(vmfiles.keys()) - -for i, vm in enumerate(vms[:2]): - mapdl.clear() - print(f"Running the vm {i}: {vm}") - output = mapdl.input(vmfiles[vm]) - print(f"Running the vm {i}: Successfully completed") - -mapdl.exit() diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 0128483016..c182730ab2 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -628,12 +628,6 @@ jobs: python -m pip install . --no-deps python -m pip install -r minimum_requirements.txt python -c "from ansys.mapdl import core as pymapdl; print('Import successfull')" - - - name: "Running some verification manual examples" - run: | - unset PYMAPDL_START_INSTANCE - export ANSYSLMD_LICENSE_FILE=1055@${{ secrets.LICENSE_SERVER }} - python .ci/run_vms.py - name: "Unit testing requirements installation" run: | diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index ec1c50a2f6..38a72d5fe6 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -60,6 +60,6 @@ repos: # this validates our github workflow files - repo: https://github.com/python-jsonschema/check-jsonschema - rev: 0.27.0 + rev: 0.27.1 hooks: - id: check-github-workflows diff --git a/doc/source/conf.py b/doc/source/conf.py index 8656edc17e..fa8399d4e0 100755 --- a/doc/source/conf.py +++ b/doc/source/conf.py @@ -181,6 +181,8 @@ rst_epilog += f.read() rst_epilog = rst_epilog.replace("%%VERSION%%", "v231") +rst_epilog = rst_epilog.replace("%%PYMAPDLVERSION%%", release) + # Read link all substitutions from file with open("substitutions.rst") as f: diff --git a/doc/source/index.rst b/doc/source/index.rst index e6186ff38b..fe5c6ff1c9 100644 --- a/doc/source/index.rst +++ b/doc/source/index.rst @@ -166,6 +166,8 @@ Documentation and issues ------------------------ Documentation for the latest stable release of PyMAPDL is hosted at `PyMAPDL documentation `_. +The same documentation is also `available as PDF `_ in the `Assets` section in the +`latest GitHub package release `_. In the upper right corner of the documentation's title bar, there is an option for switching from viewing the documentation for the latest stable release to viewing the documentation for the diff --git a/doc/source/links.rst b/doc/source/links.rst index 984799e0de..a4a445b702 100644 --- a/doc/source/links.rst +++ b/doc/source/links.rst @@ -148,6 +148,9 @@ .. _pymapdl_discussion_differences_mapdl_pymapdl: https://github.com/ansys/pymapdl-reader/issues/185 .. _cartpole_example_notebook: https://cartpole.mapdl.docs.pyansys.com/ml-rl-notebook.html .. _wsl_launching_mapdl: https://github.com/ansys/pymapdl/issues/2315 +.. _pymapdl_latest_github_release: https://github.com/ansys/pymapdl/releases/latest +.. _pymapdl_latest_pdf_doc: https://github.com/ansys/pymapdl/releases/download/v%%PYMAPDLVERSION%%.0/pymapdl-Documentation-%%PYMAPDLVERSION%%.0.pdf + .. #Python .. _using_venv: https://docs.python.org/3/library/venv.html