Skip to content

Commit aabbabf

Browse files
committed
Merge branch 'main' into docs/overall_doc_review
2 parents 3be6f1d + e484b66 commit aabbabf

32 files changed

+582
-238
lines changed

.github/CODEOWNERS

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
# These owners will be the default owners for everything in the repo. Unless a
2+
# later match takes precedence, the PyAnsys Health team will be requested for
3+
# review when someone opens a pull request.
4+
* @ansys/pyansys-health

.github/workflows/ci_cd_main.yml

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -40,6 +40,17 @@ jobs:
4040
uv tool install tox --with tox-uv
4141
4242
- name: "Build documentation"
43+
env:
44+
PYANSYS_HEART_FLUENT_VERSION: 24.1
45+
PYFLUENT_LAUNCH_CONTAINER: 0
46+
PYANSYS_HEART_LSDYNA_PATH: C:\Program Files\ANSYS Inc\LS-DYNA\R16.0\windows\R16.0.exe
47+
PYANSYS_HEART_LSDYNA_PLATFORM: windows
48+
PYANSYS_HEART_LSDYNA_TYPE: "smp"
49+
LSTC_LICENSE: ansys
50+
AWP_ROOT241: C:\\Program Files\\ANSYS Inc\\v241
51+
DPF_STANDALONE_PATH: C:\\Program Files\\ANSYS Inc\\dpf-server-2024.2rc0
52+
PYFLUENT_UI_MODE: no_gui # default hidden_gui fails on self-hosted runner
53+
NIGHTLY_DOC_BUILD: 0
4354
run: |
4455
tox -e doc-links,doc-html,doc-pdf
4556

.github/workflows/ci_cd_night.yml

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -76,9 +76,18 @@ jobs:
7676
run: |
7777
uv tool run tox -e tests -x testenv.deps+="-e dpf-standalone/v${{ env.ANSYS_VERSION }}" -- -m "${{ matrix.tests.markers }}" -vv
7878
79+
doc-style:
80+
name: Documentation Style Check
81+
runs-on: ubuntu-latest
82+
steps:
83+
- uses: ansys/actions/doc-style@4f15ff3ab1183912ce862d51b8c66ea124b052a1 # v9.0.2
84+
with:
85+
token: ${{ secrets.GITHUB_TOKEN }}
86+
7987
doc-build:
8088
name: "Build documentation"
8189
runs-on: [self-hosted, pyhealth]
90+
needs: doc-style
8291
steps:
8392

8493
- name: "Checkout the project"
@@ -94,6 +103,17 @@ jobs:
94103
uv tool install tox --with tox-uv
95104
96105
- name: "Build documentation"
106+
env:
107+
PYANSYS_HEART_FLUENT_VERSION: 24.1
108+
PYFLUENT_LAUNCH_CONTAINER: 0
109+
PYANSYS_HEART_LSDYNA_PATH: C:\Program Files\ANSYS Inc\LS-DYNA\R16.0\windows\R16.0.exe
110+
PYANSYS_HEART_LSDYNA_PLATFORM: windows
111+
PYANSYS_HEART_LSDYNA_TYPE: "smp"
112+
LSTC_LICENSE: ansys
113+
AWP_ROOT241: C:\\Program Files\\ANSYS Inc\\v241
114+
DPF_STANDALONE_PATH: C:\\Program Files\\ANSYS Inc\\dpf-server-2024.2rc0
115+
PYFLUENT_UI_MODE: no_gui # default hidden_gui fails on self-hosted runner
116+
NIGHTLY_DOC_BUILD: 0
97117
run: |
98118
tox -e doc-links,doc-html,doc-pdf
99119

.github/workflows/ci_cd_pr.yml

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -115,6 +115,17 @@ jobs:
115115
uv tool install tox --with tox-uv
116116
117117
- name: "Build documentation"
118+
env:
119+
PYANSYS_HEART_FLUENT_VERSION: 24.1
120+
PYFLUENT_LAUNCH_CONTAINER: 0
121+
PYANSYS_HEART_LSDYNA_PATH: C:\Program Files\ANSYS Inc\LS-DYNA\R16.0\windows\R16.0.exe
122+
PYANSYS_HEART_LSDYNA_PLATFORM: windows
123+
PYANSYS_HEART_LSDYNA_TYPE: "smp"
124+
LSTC_LICENSE: ansys
125+
AWP_ROOT241: C:\\Program Files\\ANSYS Inc\\v241
126+
DPF_STANDALONE_PATH: C:\\Program Files\\ANSYS Inc\\dpf-server-2024.2rc0
127+
PYFLUENT_UI_MODE: no_gui # default hidden_gui fails on self-hosted runner
128+
NIGHTLY_DOC_BUILD: 0
118129
run: |
119130
tox -e doc-links,doc-html,doc-pdf
120131

.pre-commit-config.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ repos:
99
rev: v2.4.1
1010
hooks:
1111
- id: codespell
12-
exclude: ^(tests/heart/assets\/)
12+
exclude: ^(tests/heart/assets.*|src/ansys/health/heart/data_examples.*)
1313
args: [-L solf, "--ignore-words", "doc/styles/config/vocabularies/ANSYS/accept.txt", "-w"]
1414

1515
- repo: https://github.com/pre-commit/pre-commit-hooks

CHANGELOG.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,4 +4,4 @@ This project uses [towncrier](https://towncrier.readthedocs.io/) to generate cha
44

55
Refer to the [raw release notes](doc/source/changelog.rst) for more information.
66

7-
[Published release notes](https://heart.docs.pyansys.com/version/stable/changelog.html) can be found in the online documentation
7+
[Published release notes](https://heart.health.docs.pyansys.com/version/stable/changelog.html) can be found in the online documentation

README.rst

Lines changed: 70 additions & 40 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
PyAnsys Heart
2-
=============
2+
#############
3+
34
|pyansys| |python| |pypi| |GH-CI| |MIT| |ruff| |pre-commit|
45

56
.. |pyansys| image:: https://img.shields.io/badge/Py-Ansys-ffc107.svg?logo=data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAIAAACQkWg2AAABDklEQVQ4jWNgoDfg5mD8vE7q/3bpVyskbW0sMRUwofHD7Dh5OBkZGBgW7/3W2tZpa2tLQEOyOzeEsfumlK2tbVpaGj4N6jIs1lpsDAwMJ278sveMY2BgCA0NFRISwqkhyQ1q/Nyd3zg4OBgYGNjZ2ePi4rB5loGBhZnhxTLJ/9ulv26Q4uVk1NXV/f///////69du4Zdg78lx//t0v+3S88rFISInD59GqIH2esIJ8G9O2/XVwhjzpw5EAam1xkkBJn/bJX+v1365hxxuCAfH9+3b9/+////48cPuNehNsS7cDEzMTAwMMzb+Q2u4dOnT2vWrMHu9ZtzxP9vl/69RVpCkBlZ3N7enoDXBwEAAA+YYitOilMVAAAAAElFTkSuQmCC
@@ -30,53 +31,82 @@ PyAnsys Heart
3031
:target: https://results.pre-commit.ci/latest/github/ansys/pyansys-heart/main
3132
:alt: pre-commit.ci
3233

33-
PyAnsys Heart is a `Python`_ framework for heart modeling using Ansys tools.
34-
35-
.. note::
36-
Please read LICENSE file before using this package.
34+
About
35+
=====
3736

37+
PyAnsys Heart is a Python library developed by the Ansys Healthcare Research
38+
team to model the human heart using Ansys LS-DYNA software. Designed to support
39+
advancements in cardiovascular research, this tool enables detailed,
40+
patient-specific simulations of heart function, capturing complex interactions
41+
like fluid-structure-electrophysiology interaction (FSEI). These simulations
42+
replicate hard-to-measure features such as structural stress, electrical
43+
activity, muscle fiber orientation, and even account for anatomical elements
44+
like the pericardium, valves, and atria.
3845

3946
Installation
40-
------------
41-
Follow the instructions for `installation`_ to install PyAnsys Heart.
47+
============
4248

43-
Contributing
44-
-------------
45-
Installing PyAnsys-Heart in developer mode allows
46-
you to modify the source and enhance it.
49+
Ensure you have all the necessary `prerequisites`_ before installing this
50+
software. Then, refer to the `installation guidelines`_ for detailed instructions
51+
on how to install PyAnsys Heart in your system.
4752

48-
Before contributing to the project, please refer to the `PyAnsys Developer's guide`_ and `contributing`_ guide.
53+
Documentation
54+
=============
4955

50-
Documentation and issues
51-
------------------------
52-
Documentation for the latest stable release of PyAnsys Heart is hosted at `documentation`_.
56+
- `Getting started`_. This section provides a brief overview and instructions on
57+
how to get started with the project. It typically includes information on how
58+
to install the project, set up any necessary dependencies, and run a basic
59+
example or test to ensure everything is functioning correctly.
60+
61+
- `User guide`_. The user guide section offers detailed documentation and
62+
instructions on how to use the project. It provides comprehensive explanations
63+
of the project's features, functionalities, and configuration options. The
64+
user guide aims to help users understand the project's concepts, best
65+
practices, and recommended workflows.
66+
67+
- `API reference`_. The API reference section provides detailed documentation
68+
for the project's application programming interface (API). It includes
69+
information about classes, functions, methods, and their parameters, return
70+
values, and usage examples. This reference helps developers understand the
71+
available API endpoints, their functionalities, and how to interact with them
72+
programmatically.
73+
74+
- `Examples`_. The examples section showcases practical code examples that
75+
demonstrate how to use the project in real-world scenarios. It provides sample
76+
code snippets or complete scripts that illustrate different use cases or
77+
demonstrate specific features of the project. Examples serve as practical
78+
references for developers, helping them understand how to apply the project to
79+
their own applications.
80+
81+
- `Contribute`_. This section provides guidelines and instructions on how to
82+
contribute to the project. It includes information on how to set up the
83+
development environment, run tests, submit pull requests, and follow
84+
contribution guidelines.
5385

54-
In the upper right corner of the documentation's title bar, there is an option for switching from
55-
viewing the documentation for the latest stable release to viewing the documentation for the
56-
development version or previously released versions.
86+
License
87+
=======
5788

58-
On the `PyAnsys Heart Issues`_ page,
59-
you can create issues to report bugs and request new features. On the `PyAnsys Heart Discussions`_ page or the `Discussion`_
60-
page on the Ansys Developer portal, you can post questions, share ideas, and get community feedback.
89+
You can find the full text of the license in the `LICENSE`_ file.
6190

62-
To reach the project support team, email `[email protected] <mailto:[email protected]>`_.
91+
Changelog
92+
=========
6393

64-
License
65-
-------
66-
PyAnsys Heart is licensed under the MIT license. Please refer to the `LICENSE`_ file for more information.
67-
PyAnsys Heart makes no commercial claim over any Ansys products whatsoever.
68-
This library extends the functionality of the listed Ansys products by adding a Python interface
69-
without changing the core behavior or licensing of the original products. This library requires
70-
legally licensed copies of the involved Ansys products.
71-
72-
73-
.. LINKS AND REFERENCES
74-
.. _installation: https://heart.docs.pyansys.com/version/stable/getting-started/installation
75-
.. _contributing: https://heart.docs.pyansys.com/version/stable/contributing/contributing
76-
.. _PyAnsys Heart Issues: https://github.com/ansys/pyansys-heart/issues
77-
.. _PyAnsys Heart Discussions: https://github.com/ansys/pyansys-heart/discussions
78-
.. _Python: https://www.python.org/
79-
.. _PyAnsys Developer's guide: https://dev.docs.pyansys.com/
80-
.. _Discussion: https://discuss.ansys.com
81-
.. _documentation: https://heart.health.docs.pyansys.com/
94+
The changelog section provides a summary of notable changes for each version of
95+
PyAnsys Heart. It helps you keep track of updates, bug fixes, new features, and
96+
improvements made to the project over time.
97+
98+
To view the complete changelog, please visit the project repository and
99+
navigate to the `CHANGELOG`_ file. It provides a comprehensive list of changes
100+
categorized by version, along with brief descriptions of each change.
101+
102+
103+
.. Documentation links
104+
.. _prerequisites: https://heart.health.docs.pyansys.com/version/stable/getting-started/prerequisites.html
105+
.. _installation guidelines: https://heart.docs.pyansys.com/version/stable/getting-started/installation.html
106+
.. _getting started: https://heart.docs.pyansys.com/version/stable/getting-started/index.html
107+
.. _user guide: https://heart.docs.pyansys.com/version/stable/user-guide/index.html
108+
.. _API reference: https://heart.docs.pyansys.com/version/stable/api/index.html
109+
.. _examples: https://heart.docs.pyansys.com/version/stable/examples/index.html
110+
.. _contribute: https://heart.docs.pyansys.com/version/stable/contributing/index.html
82111
.. _LICENSE: https://github.com/ansys/pyansys-heart/blob/main/LICENSE
112+
.. _CHANGELOG: https://heart.health.docs.pyansys.com/version/stable/changelog.html
Binary file not shown.
-101 KB
Binary file not shown.
-262 KB
Binary file not shown.

0 commit comments

Comments
 (0)