Back to Openvino

Custom Class Template

docs/openvino_sphinx_theme/openvino_sphinx_theme/templates/custom-class-template.rst

2026.3.1584 B
Original Source

{{ fullname | escape | underline}}

.. currentmodule:: {{ module }}

.. autoclass:: {{ objname }} :members: :show-inheritance: :inherited-members:

{% block methods %} .. automethod:: init

{% if methods %} .. rubric:: Methods

.. autosummary:: {% for met in methods %} ~{{ name }}.{{ met }} {%- endfor %} {% endif %} {% endblock %}

{% block attributes %} {% if attributes %} .. rubric:: Attributes

.. autosummary:: {% for att in attributes %} ~{{ name }}.{{ att }} {%- endfor %} {% endif %} {% endblock %}