Skip to content

Commit 0a64c81

Browse files
germa89akaszynski
andauthored
Adding troubleshooting section (#1423)
* Creating troubleshooting section. Merging API and contribute. * Second iteration * Move remote stability considerations * Moving arrays limitation to troubleshooting * fixing header * Renaming API folder to contribution and API * Resetting cache. * Apply suggestions from code review by Alex Co-authored-by: Alex Kaszynski <[email protected]> * Exposing get_available_ansys_installations * Apply suggestions from code review * Fixing unit test. Co-authored-by: Alex Kaszynski <[email protected]>
1 parent e496717 commit 0a64c81

30 files changed

+574
-451
lines changed

.github/workflows/ci.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -21,10 +21,10 @@ env:
2121
# You should go up in number, if you go down (or repeat a previous value)
2222
# you might end up reusing a previous cache if it haven't been deleted already.
2323
# It applies 7 days retention policy by default.
24-
RESET_PIP_CACHE: 4
25-
RESET_EXAMPLES_CACHE: 4
26-
RESET_DOC_BUILD_CACHE: 4
27-
RESET_AUTOSUMMARY_CACHE: 4
24+
RESET_PIP_CACHE: 5
25+
RESET_EXAMPLES_CACHE: 5
26+
RESET_DOC_BUILD_CACHE: 5
27+
RESET_AUTOSUMMARY_CACHE: 5
2828
PACKAGE_NAME: PyMAPDL
2929

3030
concurrency:

doc/source/api/index.rst

Lines changed: 0 additions & 34 deletions
This file was deleted.

doc/source/contributing.rst renamed to doc/source/contribution_and_api/index.rst

Lines changed: 50 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,9 @@
11
.. _ref_contributing:
22

3-
============
4-
Contributing
5-
============
3+
====================
4+
Contributing and API
5+
====================
6+
67
Overall guidance on contributing to a PyAnsys library appears in the
78
`Contributing <https://dev.docs.pyansys.com/overview/contributing.html>`_ topic
89
in the *PyAnsys Developer's Guide*. Ensure that you are thoroughly familiar
@@ -12,8 +13,10 @@ contribute to PyMAPDL.
1213

1314
The following contribution information is specific to PyMAPDL.
1415

16+
1517
Cloning the PyMAPDL Repository
16-
------------------------------
18+
==============================
19+
1720
Run this code to clone and install the latest version of PyMAPDL in development mode:
1821

1922
.. code::
@@ -25,7 +28,8 @@ Run this code to clone and install the latest version of PyMAPDL in development
2528
2629
2730
Posting Issues
28-
--------------
31+
==============
32+
2933
Use the `PyMAPDL Issues <https://github.com/pyansys/pymapdl/issues>`_
3034
page to submit questions, report bugs, and request new features. When possible, we
3135
recommend that you use these issue templates:
@@ -38,7 +42,8 @@ If your issue does not fit into one of these categories, create your own issue.
3842
To reach the project support team, email `[email protected] <[email protected]>`_.
3943

4044
Viewing PyMAPDL Documentation
41-
-----------------------------
45+
=============================
46+
4247
Documentation for the latest stable release of PyMAPDL is hosted at
4348
`PyMAPDL Documentation <https://mapdldocs.pyansys.com>`_.
4449

@@ -47,7 +52,8 @@ Documentation for the latest development version, which tracks the
4752
This version is automatically kept up to date via GitHub actions.
4853

4954
Testing MAPDL
50-
-------------
55+
=============
56+
5157
If you do not have MAPDL installed locally but still want to run the
5258
unit testing, you must set up the following environment variables.
5359

@@ -72,7 +78,8 @@ MAPDL service by default when the ``launch_mapdl`` function is used.
7278

7379

7480
Code Style
75-
----------
81+
==========
82+
7683
PyMAPDL follows PEP8 standard as outlined in the `PyAnsys Development Guide
7784
<https://dev.docs.pyansys.com>`_ and implements style checking using
7885
`pre-commit <https://pre-commit.com/>`_.
@@ -94,3 +101,38 @@ This way, it's not possible for you to push code that fails the style checks. Fo
94101
isort....................................................................Passed
95102
flake8...................................................................Passed
96103
codespell................................................................Passed
104+
105+
106+
.. _ref_index_api:
107+
108+
API Reference
109+
=============
110+
This section gives an overview of the API of several public PyMAPDL
111+
classes, functions, and attributes.
112+
113+
These methods may include some MAPDL commands but are generally
114+
specific to pymapdl specific methods and classes (i.e. methods that
115+
extend existing MAPDL methods in a pythonic manner). For classic
116+
MAPDL commands mapped to PyMAPDL, see :ref:`ref_mapdl_commands`.
117+
118+
119+
.. toctree::
120+
:maxdepth: 2
121+
:hidden:
122+
123+
commands
124+
database
125+
geometry
126+
helper
127+
inline
128+
logging
129+
mapdl
130+
math
131+
mesh
132+
parameters
133+
plotting
134+
pool
135+
post
136+
solution
137+
xpl
138+
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.

doc/source/getting_started/index.rst

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,6 @@ getting a licensed copy of Ansys.
1717
versioning
1818
docker
1919
using_julia
20-
faq
2120
wsl
2221

2322
************

0 commit comments

Comments
 (0)