File: module.rst

package info (click to toggle)
petsc4py 3.23.1-1exp2
  • links: PTS, VCS
  • area: main
  • in suites: experimental
  • size: 3,448 kB
  • sloc: python: 12,503; ansic: 1,697; makefile: 343; f90: 313; sh: 14
file content (62 lines) | stat: -rw-r--r-- 1,245 bytes parent folder | download | duplicates (5)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
{{ fullname | escape | underline}}

.. automodule:: {{ fullname }}
   {%- if synopsis is defined %}
   :synopsis: {{ synopsis.get(fullname, '') }}
   {%- endif %}

   {% block classes %}
   {%- if classes %}
   .. rubric:: {{ _('Classes') }}
   .. autosummary::
      :toctree:
   {% for item in classes %}
      {{ item }}
   {%- endfor %}
   {%- endif %}
   {%- endblock %}

   {% block exceptions %}
   {%- if exceptions %}
   .. rubric:: {{ _('Exceptions') }}
   .. autosummary::
      :toctree:
   {% for item in exceptions %}
      {{ item }}
   {%- endfor %}
   {%- endif %}
   {%- endblock %}

   {% block functions %}
   {%- if functions %}
   .. rubric:: {{ _('Functions') }}
   .. autosummary::
      :toctree:
   {% for item in functions %}
      {{ item }}
   {%- endfor %}
   {%- endif %}
   {%- endblock %}

   {% block attributes %}
   {%- if attributes %}
   .. rubric:: {{ _('Attributes') }}
   .. autosummary::
      :toctree:
   {% for item in attributes %}
      {{ item }}
   {%- endfor %}
   {%- endif %}
   {%- endblock %}

{% block modules %}
{%- if modules %}
.. rubric:: {{ _('Modules') }}
.. autosummary::
   :toctree:
   :recursive:
{% for item in modules %}
   {{ item }}
{%- endfor %}
{%- endif %}
{%- endblock %}