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