add nmreval to sys.path; arrow icon;
This commit is contained in:
27
doc/source/_templates/autosummary/_class.rst
Normal file
27
doc/source/_templates/autosummary/_class.rst
Normal file
@ -0,0 +1,27 @@
|
||||
{{ objname | escape | underline}}
|
||||
|
||||
Import as {{ fullname }}
|
||||
|
||||
.. currentmodule:: {{ module }}
|
||||
|
||||
.. autoclass:: {{ objname }}
|
||||
|
||||
{% block methods %}
|
||||
{% if methods %}
|
||||
.. rubric:: {{ _('Methods') }}
|
||||
|
||||
.. autosummary::
|
||||
:toctree:
|
||||
|
||||
{% for item in methods %}
|
||||
{%- if not item.startswith('_') %}
|
||||
~{{ name }}.{{ item }}
|
||||
{%- endif %}
|
||||
{%- endfor %}
|
||||
{% endif %}
|
||||
{% endblock %}
|
||||
|
||||
.. minigallery:: {{module}}.{{objname}}
|
||||
:add-heading:
|
||||
|
||||
|
33
doc/source/_templates/autosummary/class_with_attributes.rst
Normal file
33
doc/source/_templates/autosummary/class_with_attributes.rst
Normal file
@ -0,0 +1,33 @@
|
||||
{{ fullname | escape | underline}}
|
||||
|
||||
.. currentmodule:: {{ module }}
|
||||
|
||||
.. autoclass:: {{ objname }}
|
||||
|
||||
{% block methods %}
|
||||
{% if methods %}
|
||||
.. rubric:: {{ _('Methods') }}
|
||||
|
||||
{% for item in methods %}
|
||||
{% if not item.startswith('_') %}
|
||||
.. automethod:: {{ item }}
|
||||
{%- endif %}
|
||||
{%- endfor %}
|
||||
{% endif %}
|
||||
{% endblock %}
|
||||
|
||||
{% block attributes %}
|
||||
{% if attributes %}
|
||||
.. rubric:: {{ _('Attributes') }}
|
||||
|
||||
{% for item in attributes %}
|
||||
.. autoattribute:: {{ item }}
|
||||
{%- endfor %}
|
||||
{% endif %}
|
||||
{% endblock %}
|
||||
|
||||
.. include:: {{ fullname }}.examples
|
||||
|
||||
.. raw:: html
|
||||
|
||||
<div class="clearer"></div>
|
Reference in New Issue
Block a user