File: api_module.rst

package info (click to toggle)
taurus 3.0.0-2
  • links: PTS
  • area: main
  • in suites: wheezy
  • size: 87,664 kB
  • sloc: python: 56,016; sh: 16; makefile: 14
file content (58 lines) | stat: -rw-r--r-- 1,181 bytes parent folder | download | duplicates (6)
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
.. currentmodule:: {{ info['modulename'] }}

:mod:`{{info['modulename']}}`
{{ '=' * (info['modulename']|count + 7 ) }}

.. automodule:: {{info['modulename']}}

{% if info['submodules']|count >0 %}
.. rubric:: Modules

.. toctree::
    :maxdepth: 1
{% for sm in info['submodulenames'] %}
    {{ sm }} <{{ info['basemodulename'] }}/{{ sm }}>
{% endfor %}
{% endif %}
    
{% if info['localenumerationnames']|count >0 %}
.. rubric:: Enumerations

{% for c in info['localenumerationnames'] %}
	* :obj:`{{ c }}`
{% endfor %}
{% endif %}

{% if info['localclassnames']|count >0 %}
.. rubric:: Classes

.. toctree::
    :hidden:
{% for c in info['localclassnames'] %}
    {{ info['basemodulename'] }}/_{{ c }}.rst
{% endfor %}

.. hlist::
    :columns: 2
{% for c in info['localclassnames'] %}
    * :class:`{{ c }}`
{% endfor %}
{% endif %}

{% if info['localfunctionnames']|count >0 %}
.. rubric:: Functions

{% for f in info['localfunctionnames'] %}
.. autofunction:: {{ f }}
{% endfor %}
{% endif %}

{% if info['externalmembers']|count >0 %}
.. rubric:: External Members

.. hlist::
    :columns: 2
{% for m in info['externalmembers'] %}
    * :obj:`{{ m }}`
{% endfor %}
{% endif %}