sphinx-autoapi/autoapi/templates/python/class.rst

21 lines
346 B
ReStructuredText
Raw Normal View History

2015-04-21 05:54:32 +00:00
.. class:: {{ object.name }}({{ object.args|join(',') }})
2015-04-01 00:01:41 +00:00
2015-04-21 05:54:32 +00:00
{% if object.docstring %}
2015-04-01 00:01:41 +00:00
.. rubric:: Summary
2015-04-21 05:54:32 +00:00
{{ object.docstring|indent(3) }}
2015-04-01 00:01:41 +00:00
{% endif %}
{% if methods %}
{% for method in methods %}
{% macro render() %}{{ method.render() }}{% endmacro %}
{{ render()|indent(3) }}
{%- endfor %}
{% endif %}