2023-07-17 19:28:43 +01:00
|
|
|
.. only:: comment
|
|
|
|
|
|
2025-01-02 15:05:06 +00:00
|
|
|
© Crown-owned copyright 2025, Defence Science and Technology Laboratory UK
|
2023-07-17 19:28:43 +01:00
|
|
|
|
2023-06-08 15:57:38 +01:00
|
|
|
..
|
|
|
|
|
Credit to https://github.com/JamesALeedham/Sphinx-Autosummary-Recursion for the custom templates.
|
|
|
|
|
..
|
|
|
|
|
{{ fullname | escape | underline}}
|
|
|
|
|
|
|
|
|
|
.. currentmodule:: {{ module }}
|
|
|
|
|
|
|
|
|
|
.. autoclass:: {{ objname }}
|
|
|
|
|
:members:
|
|
|
|
|
:show-inheritance:
|
|
|
|
|
:inherited-members:
|
2023-07-06 15:18:33 +01:00
|
|
|
:special-members: __init__, __call__, __add__, __mul__
|
2023-06-08 15:57:38 +01:00
|
|
|
|
|
|
|
|
{% block methods %}
|
|
|
|
|
{% if methods %}
|
|
|
|
|
.. rubric:: {{ _('Methods') }}
|
|
|
|
|
|
|
|
|
|
.. autosummary::
|
|
|
|
|
:nosignatures:
|
|
|
|
|
{% for item in methods %}
|
|
|
|
|
{%- if not item.startswith('_') %}
|
|
|
|
|
~{{ name }}.{{ item }}
|
|
|
|
|
{%- endif -%}
|
|
|
|
|
{%- endfor %}
|
|
|
|
|
{% endif %}
|
|
|
|
|
{% endblock %}
|
|
|
|
|
|
|
|
|
|
{% block attributes %}
|
|
|
|
|
{% if attributes %}
|
|
|
|
|
.. rubric:: {{ _('Attributes') }}
|
|
|
|
|
|
|
|
|
|
.. autosummary::
|
|
|
|
|
{% for item in attributes %}
|
|
|
|
|
~{{ name }}.{{ item }}
|
|
|
|
|
{%- endfor %}
|
|
|
|
|
{% endif %}
|
|
|
|
|
{% endblock %}
|