sphinx-autoapi/autoapi/templates/dotnet/base_embed.rst
2015-04-15 00:22:37 -07:00

23 lines
492 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 %}
:rtype: {{ object.returns.id }}
{%- endif %}
.. code-block:: csharp
{{ example }}