-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add scaffolding for improved documentation
Add a landing page using a grid to the documentation, containing the following sections: - Getting started - How-to guides - Examples - API reference - Contributing The individual sections are still incomplete.
- Loading branch information
Showing
7 changed files
with
139 additions
and
14 deletions.
There are no files selected for viewing
This file contains 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 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 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,23 @@ | ||
Contribute | ||
========== | ||
|
||
|
||
.. include:: ../../CONTRIBUTING.md | ||
:start-after: <!-- START_MARKER_FOR_SPHINX_DOCS --> | ||
:end-before: <!-- END_MARKER_FOR_SPHINX_DOCS --> | ||
|
||
For example, you could contribute by: | ||
|
||
- Reporting a bug or suggesting a feature | ||
- Giving feedback or making suggestions for improving our documentation | ||
Check warning on line 12 in doc/source/contribute.rst GitHub Actions / vale[vale] doc/source/contribute.rst#L12
Raw output
|
||
- Submitting a pull request to fix a bug or add a feature | ||
- Reporting your use case, and how PyACP helped you or what is still missing | ||
|
||
For feedback, suggestions, or bug reports, please open an `issue | ||
<https://github.com/ansys-internal/pyacp/issues>`_ on our GitHub repository. | ||
Check warning on line 17 in doc/source/contribute.rst GitHub Actions / vale[vale] doc/source/contribute.rst#L17
Raw output
|
||
For code changes or documentation improvements, please open a `pull request | ||
<https://github.com/ansys-internal/pyacp/pulls>`_. | ||
|
||
|
||
.. include:: ../../README.rst | ||
:start-after: START_MARKER_FOR_SPHINX_DOCS |
This file contains 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,9 @@ | ||
How-to guides | ||
------------- | ||
|
||
These short guides are designed to illustrate one particular aspect of using PyACP. | ||
|
||
.. toctree:: | ||
:maxdepth: 2 | ||
|
||
launch_configuration |
This file contains 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,4 @@ | ||
Changing how ACP is started | ||
--------------------------- | ||
|
||
TODO |
This file contains 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 |
---|---|---|
@@ -1,24 +1,84 @@ | ||
.. | ||
Just reuse the root readme to avoid duplicating the documentation. | ||
Provide any documentation specific to your online documentation | ||
here. | ||
============================= | ||
PyACP documentation |version| | ||
============================= | ||
|
||
.. include:: ../../README.rst | ||
|
||
.. jinja:: main_toctree | ||
|
||
.. toctree:: | ||
:hidden: | ||
:maxdepth: 3 | ||
|
||
PyACP <self> | ||
self | ||
intro | ||
{% if not skip_gallery %} | ||
examples/index | ||
{% endif %} | ||
howto/index | ||
{% if not skip_api %} | ||
api/index | ||
{% endif %} | ||
contribute | ||
|
||
|
||
PyACP | ||
----- | ||
|
||
.. note:: | ||
|
||
PyACP is currently released as a beta version. This means that the API may | ||
change in future releases. We encourage you to try PyACP and provide us with | ||
feedback. | ||
|
||
PyACP enables modelling continuous-fiber composite structures from within your | ||
Python environment. It provides access to the features of Ansys Composite | ||
PrepPost (ACP) through a Python interface. | ||
|
||
This makes PyACP a powerful tool for automating the design, analysis and | ||
optimization of composite structures. | ||
|
||
.. jinja:: main_toctree | ||
|
||
.. grid:: 1 1 2 2 | ||
:gutter: 2 | ||
|
||
.. grid-item-card:: :octicon:`rocket` Getting started | ||
:link: intro | ||
:link-type: doc | ||
|
||
Contains installation instructions and a simple example to get you | ||
started with PyACP. | ||
|
||
.. grid-item-card:: :octicon:`light-bulb` How-to guides | ||
:link: howto/index | ||
:link-type: doc | ||
|
||
Guides on how to achieve specific tasks with PyACP. | ||
|
||
.. grid-item-card:: :octicon:`play` Examples | ||
{% if not skip_gallery %} | ||
:link: examples/index | ||
:link-type: doc | ||
{% endif %} | ||
|
||
A collection of examples demonstrating the capabilities of PyACP. | ||
|
||
.. grid-item-card:: :octicon:`file-code` API reference | ||
{% if not skip_api %} | ||
:link: api/index | ||
:link-type: doc | ||
{% endif %} | ||
|
||
Describes the public Python classes, methods, and functions. | ||
|
||
.. grid-item-card:: :octicon:`code` Contribute | ||
:link: contribute | ||
:link-type: doc | ||
:columns: 12 | ||
|
||
Information on how to contribute to PyACP. | ||
|
||
Key features | ||
^^^^^^^^^^^^ | ||
|
||
TODO | ||
|
||
Limitations | ||
^^^^^^^^^^^ | ||
|
||
TODO |
This file contains 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,19 @@ | ||
Getting started | ||
--------------- | ||
|
||
Installation | ||
^^^^^^^^^^^^ | ||
|
||
PyACP supports Ansys version 2024R2 and later. To install PyACP, run the following command: | ||
|
||
.. code-block:: bash | ||
pip install ansys-acp-core | ||
You should use a `virtual environment <https://docs.python.org/3/library/venv.html>`_, | ||
because it keeps Python packages isolated from your system Python. | ||
|
||
Usage | ||
^^^^^ | ||
|
||
TODO |