mirror of
https://github.com/readthedocs/sphinx-autoapi
synced 2024-11-06 09:20:27 +00:00
23 lines
493 B
ReStructuredText
23 lines
493 B
ReStructuredText
.. dn:{{ object.ref_type }}:: {{ object.name }}
|
|
|
|
{% if summary %}
|
|
|
|
{% macro render() %}{{ summary }}{% endmacro %}
|
|
{{ render()|indent(4) }}
|
|
|
|
{% endif %}
|
|
|
|
{%- for param in parameters %}
|
|
:param {{ param.name }}: {{ param.desc }}
|
|
{%- if param.type %}
|
|
:type {{ param.name }}: {{ param.type }}
|
|
{%- endif %}
|
|
{%- endfor %}
|
|
{%- if object.returns %}
|
|
:return: {{ object.returns.id }}
|
|
{%- endif %}
|
|
|
|
.. code-block:: csharp
|
|
|
|
{{ example }}
|