Skip to content

Commit 60c0b05

Browse files
add tutorial_content_template.rst
1 parent 181a6d7 commit 60c0b05

File tree

1 file changed

+96
-0
lines changed

1 file changed

+96
-0
lines changed
Lines changed: 96 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,96 @@
1+
2+
Tabs for different solvers
3+
--------------------------
4+
5+
Here you have to make an implementation but it is different for the different solvers
6+
7+
.. tab-set::
8+
9+
.. tab-item:: MAPDL
10+
11+
Explanation ...
12+
13+
.. jupyter-execute::
14+
15+
# Code block
16+
17+
.. tab-item:: LSDYNA
18+
19+
Explanation ...
20+
21+
.. jupyter-execute::
22+
23+
# Code block
24+
25+
.. tab-item:: Fluent
26+
27+
Explanation ...
28+
29+
.. jupyter-execute::
30+
31+
# Code block
32+
33+
.. tab-item:: CFX
34+
35+
Explanation ...
36+
37+
.. jupyter-execute::
38+
39+
# Code block
40+
41+
Bullet lists
42+
------------
43+
44+
Here you enumerate something:
45+
46+
- something 1;
47+
- something 2;
48+
- something 3.
49+
50+
Here you enumerate something with a numbered list:
51+
52+
#. something 1;
53+
#. something 2;
54+
#. something 3.
55+
56+
Bullet lists with explanations between items
57+
--------------------------------------------
58+
59+
Here you enumerate something and reference them to use each item as a subheading:
60+
61+
- :ref:`Something 1<ref_something_1>`;
62+
- :ref:`Something 2<ref_something_2>`;
63+
- :ref:`Something 3<ref_something_3>`.
64+
65+
.. _ref_something_1:
66+
67+
Something 1
68+
^^^^^^^^^^^
69+
70+
Explanation 1
71+
72+
.. jupyter-execute::
73+
74+
# Code block 1
75+
76+
.. _ref_something_2:
77+
78+
Something 2
79+
^^^^^^^^^^^
80+
81+
Explanation 2
82+
83+
.. jupyter-execute::
84+
85+
# Code block 2
86+
87+
.. _ref_something_3:
88+
89+
Something 3
90+
^^^^^^^^^^^
91+
92+
Explanation 3
93+
94+
.. jupyter-execute::
95+
96+
# Code block 3

0 commit comments

Comments
 (0)