sphinx-autoapi/autoapi/templates/dotnet/base_embed.rst

23 lines
492 B
ReStructuredText
Raw Normal View History

.. dn:{{ object.ref_type }}:: {{ object.name }}
2015-04-14 02:10:19 +00:00
{% if summary %}
{% macro render() %}{{ summary }}{% endmacro %}
{{ render()|indent(4) }}
2015-04-14 02:10:19 +00:00
{% endif %}
2015-04-14 02:10:19 +00:00
{%- for param in parameters %}
:param {{ param.name }}: {{ param.desc }}
{%- if param.type %}
:type {{ param.name }}: {{ param.type }}
{%- endif %}
{%- endfor %}
2015-04-15 07:10:50 +00:00
{%- if object.returns %}
2015-04-15 07:22:37 +00:00
:rtype: {{ object.returns.id }}
2015-04-15 07:10:50 +00:00
{%- endif %}
2015-04-14 02:10:19 +00:00
.. code-block:: csharp
{{ example }}