Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
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
Binary file added doc/source/_static/videos/Valve.mp4
Binary file not shown.
Binary file removed doc/source/animations/Valve.mp4
Binary file not shown.
7 changes: 7 additions & 0 deletions doc/source/basic_examples/basic/ex_01-valve.rst
Original file line number Diff line number Diff line change
Expand Up @@ -199,6 +199,13 @@ Export stress animation
os.path.join(os.getcwd(), "Valve.mp4"), animation_export_format, settings_720p
)

.. raw:: html

<video width="640" height="480" controls=""> <source
src="https://embedding.examples.mechanical.docs.pyansys.com/_static/videos/Valve.mp4"
type="video/mp4">
Your browser does not support the video tag. </video>

Cleanup
-------

Expand Down
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
11 changes: 3 additions & 8 deletions doc/source/basic_examples/index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -7,13 +7,13 @@ Basic Examples

.. raw:: html

<div class="sphx-glr-thumbnails">
<div class="sphx-glr-thumbnails">



.. raw:: html

<div class="sphx-glr-thumbcontainer" tooltip="Basic Example 01: Valve">
<div class="sphx-glr-thumbcontainer" tooltip="Basic Example 01: Valve">

.. only:: html

Expand All @@ -24,7 +24,7 @@ Basic Examples

.. raw:: html

<div class="sphx-glr-thumbnail-title">Valve</div>
<div class="sphx-glr-thumbnail-title">Valve</div>
</div>

.. raw:: html
Expand All @@ -39,8 +39,3 @@ Basic Examples
basic/ex_01-valve.rst


.. only:: html

.. rst-class:: sphx-glr-signature

`Gallery generated by Sphinx-Gallery <https://sphinx-gallery.github.io>`_
2 changes: 1 addition & 1 deletion doc/source/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -128,7 +128,7 @@
config.SolveProcessSettings.DistributeSolution = False

# static path
# html_static_path = ["_static"]
html_static_path = ["_static"]

# Add any paths that contain templates here, relative to this directory.
templates_path = ["_templates"]
Expand Down
4 changes: 2 additions & 2 deletions doc/source/index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -21,8 +21,8 @@ Summary of the exposed basic examples
--------------------------------------

.. include:: ./basic_examples/index.rst
:start-line: 11
:end-line: 130
:start-line: 7
:end-line: 33

.. === EXAMPLES ===

Expand Down