BUGFIX: VFT;
change to src layout
This commit is contained in:
@ -3,25 +3,36 @@
|
||||
.. currentmodule:: {{ module }}
|
||||
|
||||
.. autoclass:: {{ objname }}
|
||||
:exclude-members: {% for item in methods %}{%- if not item.startswith('_') or item in ['__call__'] %}{{ item }}, {% endif %}{%- endfor %}
|
||||
|
||||
{% block methods %}
|
||||
|
||||
{%- block methods %}
|
||||
{% if methods %}
|
||||
.. rubric:: {{ _('Methods') }}
|
||||
|
||||
{% for item in methods %}
|
||||
.. automethod:: {{ item }}
|
||||
{%- endfor %}
|
||||
{% endif %}
|
||||
{% endblock %}
|
||||
|
||||
{% block attributes %}
|
||||
{% if attributes %}
|
||||
.. rubric:: {{ _('Attributes') }}
|
||||
.. rubric:: Methods
|
||||
|
||||
.. autosummary::
|
||||
{% for item in attributes %}
|
||||
~{{ name }}.{{ item }}
|
||||
{%- endfor %}
|
||||
:toctree:
|
||||
|
||||
{% for item in methods %}
|
||||
{%- if not item.startswith('_') or item in ['__call__'] %} ~{{ name }}.{{ item }}
|
||||
{% endif %}
|
||||
{% endblock %}
|
||||
{%- endfor %}
|
||||
{%- endif %}
|
||||
{%- endblock %}
|
||||
|
||||
{%- block attributes %}
|
||||
{%- if attributes %}
|
||||
.. rubric:: Properties
|
||||
|
||||
.. autosummary::
|
||||
:toctree:
|
||||
|
||||
{% for item in attributes %}
|
||||
{%- if not item.startswith('_') or item in ['__call__'] %} ~{{ name }}.{{ item }}
|
||||
{% endif %}
|
||||
{%- endfor %}
|
||||
{%- endif %}
|
||||
{%- endblock %}
|
||||
|
||||
.. _sphx_glr_backref_{{ fullname }}:
|
||||
.. minigallery:: {{ objname }}
|
||||
:add-heading:
|
||||
|
Reference in New Issue
Block a user