-
Notifications
You must be signed in to change notification settings - Fork 5
Fix the documentation #14
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
Changes from 24 commits
Commits
Show all changes
53 commits
Select commit
Hold shift + click to select a range
1356a3c
Adding warnings
clatapie a656eaa
Adding the favicon + fixing Sphinx version
clatapie c21a765
Creating the documentation skeleton
clatapie 2fe0e44
Merge branch 'main' into fix/documentation
clatapie f75f4b9
Adding the documentation content
clatapie 774fca3
Merge branch 'fix/documentation' of https://github.com/pyansys/ansys-…
clatapie 08c80fa
Fixing typos and updating README.rst
clatapie 011d71b
Fixing vale errors
clatapie aa783c9
Fixing the vale error
clatapie d7b5c3b
Merge branch 'main' into fix/documentation
clatapie 53c2c5e
Apply suggestions from code review
clatapie eced37f
Changes from Roberto's review
clatapie 73e6939
Merge branch 'fix/documentation' of https://github.com/pyansys/ansys-…
clatapie a38ef8b
Code style changes
clatapie 55cf4b9
Fixing an issue with the README.rst
clatapie 82404df
Fixing a typo
clatapie cbf2e0c
Apply suggestions from code review
clatapie f3982fe
Apply suggestions from code review
clatapie 479b964
Apply suggestions from code review
clatapie 78ee81f
Code style changes
clatapie 301e407
Flake8 changes
clatapie 262560f
Apply suggestions from code review
clatapie 93b5076
Changing 'APDLMath' into 'AnsMath' obj for clarity
clatapie 380af34
Fixing typos in the doc
clatapie 5dfe6fe
Update examples/scipy_sparse_matrix.py
clatapie efc7270
Apply changes from Kathy's review
clatapie 5d49c4f
Merge branch 'main' into fix/documentation
clatapie 777dbdf
Modifying the project name to PyAnsys-Math
clatapie e2b24ce
Merge branch 'fix/documentation' of https://github.com/pyansys/ansys-…
clatapie 69a791b
Fixing issues with the repository name
clatapie b028e48
Fixing a typo
clatapie 2885ecb
Fixing issues
clatapie eef5c07
Fixing a documentation issue
clatapie 1926cd7
Fixing the building error
clatapie 25f62f6
Apply suggestions from code review
clatapie cf0e721
Apply suggestions from code review
clatapie cd17af3
Changes from Kathy's review
clatapie e78e82d
Merge branch 'fix/documentation' of https://github.com/pyansys/ansys-…
clatapie 7de45a9
Apply suggestions from code review
clatapie 398eb52
Fixing the format of sentences
clatapie 6322cbf
Merge branch 'main' into fix/documentation
clatapie 30c1559
Chainging `PyAnsys-Math` name into `PyAnsys Math`
clatapie b24c934
Fixing Unit Test issues
clatapie 4413fbb
Modifying the mat function init default value
clatapie 81adfba
Apply suggestions from code review - Examples files
clatapie 9978412
Apply suggestions from code review
clatapie 70b4858
Fixing the _autosummary warnings
clatapie 114a5c6
Merge branch 'fix/documentation' of https://github.com/pyansys/ansys-…
clatapie 7501bf1
First commit from Kathy's review
clatapie 03a60f5
Fixing the warning issue
clatapie 9c0e7cd
Second commit from Kathy's review - math.py file
clatapie 1543cbb
Third commit from Kathy's review - math.py file
clatapie f6a2fb8
Precising the needed Ansys license
clatapie File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,15 @@ | ||
|
|
||
| .. _ref_index_api: | ||
|
|
||
| API reference | ||
| ============= | ||
|
|
||
| This section provides an overview of the public AnsysMath classes, | ||
| functions, and attributes. | ||
|
|
||
|
|
||
|
|
||
| .. toctree:: | ||
| :maxdepth: 1 | ||
|
|
||
| math |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,12 @@ | ||
| .. _ref_math: | ||
|
|
||
| .. currentmodule:: ansys.math.core | ||
|
|
||
| .. autosummary:: | ||
| :toctree: _autosummary | ||
|
|
||
| math.AnsMath | ||
| math.AnsMathObj | ||
| math.AnsVec | ||
| math.AnsMat | ||
| math.AnsSolver |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,83 @@ | ||
| .. _ref_contributing: | ||
|
|
||
| Contributing | ||
| ============ | ||
|
|
||
| Overall guidance on contributing to a PyAnsys library appears in the | ||
| `Contributing <dev_guide_contributing_>`_ topic | ||
| in the *PyAnsys Developer's Guide*. Ensure that you are thoroughly familiar | ||
| with it before attempting to contribute to PyMAPDL. | ||
clatapie marked this conversation as resolved.
Outdated
Show resolved
Hide resolved
|
||
|
|
||
| The following contribution information is specific to AnsysMath. | ||
|
|
||
| Cloning the repository | ||
| -------------------------------- | ||
clatapie marked this conversation as resolved.
Outdated
Show resolved
Hide resolved
|
||
|
|
||
| Run this code to clone and install the latest version of AnsysMath in development mode:: | ||
|
|
||
| git clone https://github.com/pyansys/ansys-math | ||
| cd ansys-math | ||
| python -m pip install --upgrade pip | ||
| pip install -e . | ||
|
|
||
| Posting issues | ||
| -------------- | ||
|
|
||
| Use the `AnsysMath Issues <amath_issues_>`_ page to submit questions, | ||
| report bugs, and request new features. When possible, use these issue | ||
| templates: | ||
|
|
||
| * Bug report template | ||
| * Feature request template | ||
|
|
||
| If your issue does not fit into one of these categories, create your own issue. | ||
|
|
||
| To reach the PyAnsys support team, email `pyansys.support@ansys.com <pyansys_support_>`_. | ||
|
|
||
|
|
||
| Building documentation | ||
| ---------------------- | ||
|
|
||
| To build the AnsysMath documentation locally, in the root directory of the repository, run:: | ||
|
|
||
| pip install .[doc] | ||
| .\doc\make.bat html | ||
|
|
||
| Documentation for the latest stable release of AnsysMath is hosted at | ||
| `AnsysMath Documentation <amath_docs_>`_. | ||
|
|
||
| Documentation for the latest development version, which tracks the | ||
| ``main`` branch, is hosted at | ||
| `Development AnsysMath Documentation <amath_dev_docs_>`_. | ||
| This version is automatically kept up to date via GitHub actions. | ||
|
|
||
|
|
||
| Code style | ||
| ---------- | ||
|
|
||
| AnsysMath follows the PEP8 standard as outlined in the `PyAnsys Development Guide | ||
| <dev_guide_pyansys_>`_ and implements style checking using | ||
| `pre-commit <precommit_>`_. | ||
|
|
||
| To ensure your code meets minimum code styling standards, run:: | ||
clatapie marked this conversation as resolved.
Outdated
Show resolved
Hide resolved
|
||
|
|
||
| pip install pre-commit | ||
| pre-commit run --all-files | ||
|
|
||
| You can also install this as a pre-commit hook by running:: | ||
clatapie marked this conversation as resolved.
Outdated
Show resolved
Hide resolved
|
||
|
|
||
| pre-commit install | ||
|
|
||
| This way, it's not possible for you to push code that fails the style checks. For example:: | ||
|
|
||
| $ pre-commit install | ||
| $ git commit -am "added my cool feature" | ||
| black....................................................................Passed | ||
| blacken-docs.............................................................Passed | ||
| isort....................................................................Passed | ||
| flake8...................................................................Passed | ||
| codespell................................................................Passed | ||
| check for merge conflicts................................................Passed | ||
| debug statements (python)................................................Passed | ||
| Validate GitHub Workflows................................................Passed | ||
|
|
||
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.