sphinx-autoapi/autoapi/templates/dotnet/base_embed.rst
2015-04-14 16:24:57 -07:00

20 lines
399 B
ReStructuredText

.. dn:{{ object.type }}:: {{ 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 %}
.. code-block:: csharp
{{ example }}