Skip to content
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

docs: revamping example landing page and adding groups #3434

Merged
merged 21 commits into from
Sep 27, 2024
Merged
Show file tree
Hide file tree
Changes from 8 commits
Commits
Show all changes
21 commits
Select commit Hold shift + click to select a range
245d104
docs: Adding groups to user guide
germa89 Sep 27, 2024
a7c01b0
docs: adding groups to mapdl_commands
germa89 Sep 27, 2024
d2d2c02
docs: adding groups to getting_started
germa89 Sep 27, 2024
3a9679f
chore: changing image resolution
germa89 Sep 27, 2024
9eec945
docs: changing example landing page
germa89 Sep 27, 2024
9a3ab56
chore: adding changelog file 3434.documentation.md
pyansys-ci-bot Sep 27, 2024
c83fb98
docs: removing rst comments
germa89 Sep 27, 2024
8fd432d
Merge branch 'docs/adding-groups-in-left-side-bar' of https://github.…
germa89 Sep 27, 2024
25a0b42
docs: Adding groups to user guide
germa89 Sep 27, 2024
689f63c
docs: adding groups to mapdl_commands
germa89 Sep 27, 2024
0b35883
docs: adding groups to getting_started
germa89 Sep 27, 2024
a8d1f07
chore: changing image resolution
germa89 Sep 27, 2024
b814554
docs: changing example landing page
germa89 Sep 27, 2024
a12a81b
chore: adding changelog file 3434.documentation.md
pyansys-ci-bot Sep 27, 2024
dd415e1
docs: removing rst comments
germa89 Sep 27, 2024
a355df7
Update doc/source/getting_started/index.rst
germa89 Sep 27, 2024
d94e8b8
chore: Merge branch 'docs/adding-groups-in-left-side-bar' of https://…
germa89 Sep 27, 2024
52a56f6
docs: removing unneeded section
germa89 Sep 27, 2024
eb3b56a
docs: fix reference and remove link to orphan
germa89 Sep 27, 2024
e46abd2
fix: avoid showing 'Other threads are currently calling into gRPC, sk…
germa89 Sep 27, 2024
2e73d09
chore: adding link to PR in new env var
germa89 Sep 27, 2024
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions doc/changelog.d/3434.documentation.md
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
docs: revamping example landing page and adding groups
72 changes: 56 additions & 16 deletions doc/source/examples/index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,15 @@
:hidden:
:maxdepth: 3

gallery_examples/index.rst
gallery_examples/00-mapdl-examples/index.rst
gallery_examples/01-geometry/index.rst
gallery_examples/02-tips-n-tricks/index.rst
gallery_examples/03-general-fea/index.rst
extended_examples/index.rst
devportal.rst
Verification Manual <https://examples.mapdl.docs.pyansys.com/verif-manual/index.html>
Technology Showcases <https://examples.mapdl.docs.pyansys.com/technology_showcase_examples/index.html>
extended_examples/index.rst


.. _ref_examples:
Expand All @@ -20,32 +25,67 @@ Examples
Here are a series of examples using MAPDL with the ``ansys-mapdl-core`` library.


.. === EXAMPLES Gallery ===
.. grid:: 2 2 3 3
:gutter: 1 2 3 3
:padding: 1 2 3 3

.. grid-item-card:: Full examples using PyMAPDL
:link: sphx_glr_examples_gallery_examples_00-mapdl-examples
:link-type: ref
:img-top: ../images/examples_main_page/pymapdl.png

These examples demonstrate full examples using the PyMAPDL module.

.. grid-item-card:: Geometry examples
:link: sphx_glr_examples_gallery_examples_01-geometry
:link-type: ref
:img-top: ../images/examples_main_page/geometry.png

These examples demonstrate using PyMAPDL to create basic geometry.

.. grid-item-card:: Extended examples
:link: ref_extended_examples
:link-type: ref
:img-top: ../images/examples_main_page/extended.gif

These extended examples explain advanced concepts.

.. grid-item-card:: Miscellaneous examples
:link: sphx_glr_examples_gallery_examples_02-tips-n-tricks
:link-type: ref
:img-top: ../images/examples_main_page/misc.png

These examples demonstrate miscellaneous tips and tricks for using PyMAPDL.

..
We have to include this rather than include it in a tree.

.. include:: gallery_examples/index.rst
:start-line: 2
.. grid-item-card:: Academic finite element examples
:link: sphx_glr_examples_gallery_examples_03
:link-type: ref
:img-top: ../images/examples_main_page/academic.png

Demonstrate finite element method for academic and teaching purposes.

.. === Developer Portal examples ==
.. grid-item-card:: Developer portal examples
:link: ref_devportal_examples
:link-type: ref
:img-top: ../images/examples_main_page/developer.png

.. include:: devportal.rst
:start-line: 2
Informative and insightful blog articles published in the `Developer Portal <developer_portal_>`_.

.. grid-item-card:: Verification manual examples
:link: https://examples.mapdl.docs.pyansys.com/verif-manual/index.html
:img-top: ../images/examples_main_page/vm.png

.. === PyMAPDL examples ===
Demonstrates a range of Mechanical APDL elements and capabilities using PyMAPDL.

.. include:: pymapdl_examples_repo/index.rst
:start-line: 2

.. === Extended examples ===
.. grid-item-card:: Technology Showcases
:link: https://examples.mapdl.docs.pyansys.com/technology_showcase_examples/index.html
:img-top: ../images/examples_main_page/showcase.png

.. include:: extended_examples/index.rst
:start-line: 2
:end-line: 29
Examples coming from the APDL Technology Showcase Manual.



.. === DOWNLOAD EXAMPLES ===

Expand Down
16 changes: 15 additions & 1 deletion doc/source/getting_started/index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -8,17 +8,31 @@ Getting started
.. toctree::
:maxdepth: 1
:hidden:
:caption: Introduction

project
install_mapdl
install_pymapdl
launcher

.. toctree::
:maxdepth: 1
:hidden:
:caption: Getting started
germa89 marked this conversation as resolved.
Show resolved Hide resolved

learning
faq
versioning


.. toctree::
:maxdepth: 1
:hidden:
:caption: Contribute

contribution
devcontainer
make_container
versioning
docker
macos
wsl
Expand Down
Binary file modified doc/source/images/codespaces.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added doc/source/images/examples_main_page/misc.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added doc/source/images/examples_main_page/vm.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
19 changes: 18 additions & 1 deletion doc/source/mapdl_commands/index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@ are grouped by capability.

.. toctree::
:maxdepth: 1
:caption: Session

session/run_controls
session/processor_entry
Expand All @@ -31,6 +32,7 @@ These commands are used to operate on the database globally.

.. toctree::
:maxdepth: 1
:caption: Database

database/setup
database/selecting
Expand All @@ -46,6 +48,7 @@ These commands are used to control the graphics of the program.

.. toctree::
:maxdepth: 1
:caption: Graphics

graphics/setup
graphics/views
Expand All @@ -64,6 +67,7 @@ These commands make up the ANSYS Parametric Design Language

.. toctree::
:maxdepth: 1
:caption: APDL

apdl/parameter_definition
apdl/macro_files
Expand All @@ -83,6 +87,7 @@ These commands are used to create and set up the model.

.. toctree::
:maxdepth: 1
:caption: Preprocessing

prep7/database
prep7/element_type
Expand Down Expand Up @@ -118,6 +123,7 @@ These commands are used to load and solve the model.

.. toctree::
:maxdepth: 1
:caption: Solution

solution/analysis_options
solution/nonlinear_options
Expand Down Expand Up @@ -158,6 +164,7 @@ processor.

.. toctree::
:maxdepth: 1
:caption: POST1

post1/setup
post1/controls
Expand All @@ -182,6 +189,7 @@ time-history processor.

.. toctree::
:maxdepth: 1
:caption: POST26

post26/setup
post26/controls
Expand All @@ -200,11 +208,11 @@ binary files produced by the program.

.. toctree::
:maxdepth: 1
:caption: AUX2

aux2/bin_dump
aux2/bin_manip


****
AUX3
****
Expand All @@ -213,6 +221,7 @@ files by deleting sets or by changing values.

.. toctree::
:maxdepth: 1
:caption: AUX3

aux3

Expand All @@ -225,6 +234,7 @@ analyses.

.. toctree::
:maxdepth: 1
:caption: AUX12

aux12/general_radiation
aux12/radiation_mat
Expand All @@ -238,6 +248,7 @@ These commands are used to read in an IGES file for analysis in ANSYS.

.. toctree::
:maxdepth: 1
:caption: AUX15

aux15

Expand All @@ -250,6 +261,7 @@ onto the existing geometry.

.. toctree::
:maxdepth: 1
:caption: MAP

map

Expand All @@ -266,6 +278,7 @@ produced within ANSYS.

.. toctree::
:maxdepth: 1
:caption: DISPLAY

display/setup

Expand All @@ -279,6 +292,7 @@ produced within ANSYS.

.. toctree::
:maxdepth: 1
:caption: REDUCED

reduced/setup
reduced/preparation
Expand All @@ -293,6 +307,7 @@ These commands read in external CAD files into MAPDL.

.. toctree::
:maxdepth: 1
:caption: Connection

conn

Expand All @@ -305,6 +320,7 @@ Undocumented miscellaneous commands.

.. toctree::
:maxdepth: 1
:caption: Miscellaneous

misc

Expand All @@ -323,6 +339,7 @@ Undocumented inquire commands.

.. toctree::
:maxdepth: 1
:caption: Undocumented

inqfun

Expand Down
24 changes: 22 additions & 2 deletions doc/source/user_guide/index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -10,26 +10,46 @@ This section provides a general overview of PyMAPDL and how you use it.
This toctreemust be a top level index to get it to show up in
pydata_sphinx_theme


.. toctree::
:maxdepth: 1
:hidden:

troubleshoot

.. toctree::
:maxdepth: 1
:hidden:
:caption: Basic

mapdl
convert
mesh_geometry
plotting
parameters
components
post

.. toctree::
:maxdepth: 1
:hidden:
:caption: Intermediate

cli
convert
database
math
pool


.. toctree::
:maxdepth: 1
:hidden:
:caption: Advanced

hpc
xpl
upf
krylov
troubleshoot


PyMAPDL overview
Expand Down
Loading