module.rst 1.25 KB
Newer Older
1
2
3
4
5
6
7
{% if name %}
{{ name }}
{% for item in range(8 + name|length) -%}={%- endfor %}
{% else %}
{{ fullname }}
{% for item in range(8 + fullname|length) -%}={%- endfor %}
{% endif %}
8
({{ fullname }} module)
9
10
11
12
13
14
15
16
17
18
19
20

.. currentmodule:: {{ fullname }}

.. automodule:: {{ fullname }}
    {% if members -%}
    :members: {{ members|join(", ") }}
    :undoc-members:
    :show-inheritance:
    :member-order: bysource

    Summary
    -------
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
63
64
65
66
67
68
69
70
71
72
73
74
75
    {%- if exceptions %}

    Exceptions:

    .. autosummary::
        :nosignatures:
        {% for item in exceptions %}
        {{ item }}
        {%- endfor %}
    {%- endif %}

    {%- if classes %}

    Classes:

    .. autosummary::
        :nosignatures:
        {% for item in classes %}
        {{ item }}
        {%- endfor %}
    {%- endif %}

    {%- if functions %}

    Functions:

    .. autosummary::
        :nosignatures:
        {% for item in functions %}
        {{ item }}
        {%- endfor %}
    {%- endif %}
    {%- endif %}

    {%- if data %}

    Data:

    .. autosummary::
        :nosignatures:
        {% for item in data %}
        {{ item }}
        {%- endfor %}
    {%- endif %}

{% if all_refs %}
    ``__all__``: {{ all_refs|join(", ") }}
{%- endif %}


{% if members %}
    Reference
    ---------

Martin Reinecke's avatar
Martin Reinecke committed
76
{%- endif %}