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

20 lines
406 B
ReStructuredText
Raw Normal View History

.. dn:{{ object.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-14 02:10:19 +00:00
.. code-block:: csharp
{{ example }}