| 1 |
{% if fullname in ['metpy.calc', 'metpy.plots.ctables', 'metpy.xarray'] %} |
| 2 |
|
| 3 |
{% include 'overrides/' ~ fullname ~ '.rst' with context %} |
| 4 |
|
| 5 |
{% else %} |
| 6 |
{% if name == 'io' %} |
| 7 |
{% set nice_name = 'Reading Data' %} |
| 8 |
{% elif name == 'remote' %} |
| 9 |
{% set nice_name = 'Remote Data Sources' %} |
| 10 |
{% else %} |
| 11 |
{% set nice_name = name | title | escape %} |
| 12 |
{% endif %} |
| 13 |
|
| 14 |
{{ (nice_name ~ ' ``(' ~ fullname ~ ')``')|underline }} |
| 15 |
|
| 16 |
.. automodule:: {{ fullname }} |
| 17 |
|
| 18 |
{% block attributes %} |
| 19 |
{% if attributes %} |
| 20 |
.. rubric:: {{ _('Module Attributes') }} |
| 21 |
|
| 22 |
.. autosummary:: |
| 23 |
{% for item in attributes %} |
| 24 |
{{ item }} |
| 25 |
{%- endfor %} |
| 26 |
{% endif %} |
| 27 |
{% endblock %} |
| 28 |
|
| 29 |
{% block functions %} |
| 30 |
{% if functions %} |
| 31 |
.. rubric:: {{ _('Functions') }} |
| 32 |
|
| 33 |
.. autosummary:: |
| 34 |
:toctree: ./ |
| 35 |
{% for item in functions %} |
| 36 |
{{ item }} |
| 37 |
{%- endfor %} |
| 38 |
{% endif %} |
| 39 |
{% endblock %} |
| 40 |
|
| 41 |
{% block classes %} |
| 42 |
{% if classes %} |
| 43 |
.. rubric:: {{ _('Classes') }} |
| 44 |
|
| 45 |
.. autosummary:: |
| 46 |
:toctree: ./ |
| 47 |
{% for item in classes %} |
| 48 |
{{ item }} |
| 49 |
{%- endfor %} |
| 50 |
{% endif %} |
| 51 |
{% endblock %} |
| 52 |
|
| 53 |
{% block exceptions %} |
| 54 |
{% if exceptions %} |
| 55 |
.. rubric:: {{ _('Exceptions') }} |
| 56 |
|
| 57 |
.. autosummary:: |
| 58 |
:toctree: ./ |
| 59 |
{% for item in exceptions %} |
| 60 |
{{ item }} |
| 61 |
{%- endfor %} |
| 62 |
{% endif %} |
| 63 |
{% endblock %} |
| 64 |
|
| 65 |
{% endif %} |