mirror of
https://github.com/readthedocs/sphinx-autoapi
synced 2024-11-10 01:10:27 +00:00
21 lines
346 B
ReStructuredText
21 lines
346 B
ReStructuredText
.. class:: {{ object.name }}({{ object.args|join(',') }})
|
|
|
|
{% if object.docstring %}
|
|
|
|
.. rubric:: Summary
|
|
|
|
{{ object.docstring|indent(3) }}
|
|
|
|
{% endif %}
|
|
|
|
{% if methods %}
|
|
|
|
{% for method in methods %}
|
|
|
|
{% macro render() %}{{ method.render() }}{% endmacro %}
|
|
{{ render()|indent(3) }}
|
|
|
|
{%- endfor %}
|
|
|
|
{% endif %}
|