From e1668a139ce16c28efa901ae5dc8e9b37d386d7a Mon Sep 17 00:00:00 2001
From: German <28149841+germa89@users.noreply.github.com>
Date: Wed, 8 Nov 2023 10:37:58 +0100
Subject: [PATCH 1/3] Removing vm step from minimal. It is buggy. (#2492)
---
.ci/run_vms.py | 15 ---------------
.github/workflows/ci.yml | 6 ------
2 files changed, 21 deletions(-)
delete mode 100644 .ci/run_vms.py
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 c427f667bf..e3de78c98a 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: |
From cc169bf8ea07392c1b8e754c46aeeb13e80f42f9 Mon Sep 17 00:00:00 2001
From: German <28149841+germa89@users.noreply.github.com>
Date: Wed, 8 Nov 2023 10:43:03 +0100
Subject: [PATCH 2/3] Referencing the PDF in the docs (#2489)
---
doc/source/conf.py | 2 ++
doc/source/index.rst | 2 ++
doc/source/links.rst | 3 +++
3 files changed, 7 insertions(+)
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
From 1cbc03746f7f41036a5e7d9dd8125424034504cf Mon Sep 17 00:00:00 2001
From: "pre-commit-ci[bot]"
<66853113+pre-commit-ci[bot]@users.noreply.github.com>
Date: Wed, 8 Nov 2023 09:45:32 +0000
Subject: [PATCH 3/3] [pre-commit.ci] pre-commit autoupdate (#2482)
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
* [pre-commit.ci] pre-commit autoupdate
updates:
- [github.com/codespell-project/codespell: v2.2.2 → v2.2.4](https://github.com/codespell-project/codespell/compare/v2.2.2...v2.2.4)
- [github.com/python-jsonschema/check-jsonschema: 0.21.0 → 0.22.0](https://github.com/python-jsonschema/check-jsonschema/compare/0.21.0...0.22.0)
* Fixing codespell
* Fixing pre-commit
* [pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
* simplifying accepted words list
* [pre-commit.ci] pre-commit autoupdate
updates:
- [github.com/psf/black: 23.1.0 → 23.3.0](https://github.com/psf/black/compare/23.1.0...23.3.0)
* Updating also blackend
* [pre-commit.ci] pre-commit autoupdate
updates:
- [github.com/adamchainz/blacken-docs: 1.13.0 → 1.14.0](https://github.com/adamchainz/blacken-docs/compare/1.13.0...1.14.0)
- [github.com/codespell-project/codespell: v2.2.4 → v2.2.5](https://github.com/codespell-project/codespell/compare/v2.2.4...v2.2.5)
- [github.com/python-jsonschema/check-jsonschema: 0.23.1 → 0.23.2](https://github.com/python-jsonschema/check-jsonschema/compare/0.23.1...0.23.2)
* removing vale warnings
* Adding words to ignore
* [pre-commit.ci] pre-commit autoupdate
updates:
- [github.com/psf/black: 23.10.0 → 23.10.1](https://github.com/psf/black/compare/23.10.0...23.10.1)
* [pre-commit.ci] pre-commit autoupdate
updates:
- [github.com/python-jsonschema/check-jsonschema: 0.27.0 → 0.27.1](https://github.com/python-jsonschema/check-jsonschema/compare/0.27.0...0.27.1)
---------
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
Co-authored-by: German
Co-authored-by: German <28149841+germa89@users.noreply.github.com>
---
.pre-commit-config.yaml | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
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