You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
sphinx-autoapi/autoapi/templates/dotnet/base_embed.rst

30 lines
669 B
ReStructuredText

.. dn:{{ obj.ref_type }}:: {{ obj.name }}
{% if obj.summary %}
{{ obj.summary|indent(4) }}
{% endif %}
{% for param in obj.parameters %}
{% if param.desc %}
:param {{ param.name }}: {{ param.desc|indent(8) }}
{% endif %}
{% if param.type %}
:type {{ param.name }}: {{ param.type|indent(8) }}
{% endif %}
{% endfor %}
{% if obj.returns.type %}
:rtype: {{ obj.returns.type|indent(8) }}
{% endif %}
{% if obj.returns.description %}
:return: {{ obj.returns.description|indent(8) }}
{% endif %}
{% if obj.example %}
.. code-block:: csharp
{{ obj.example|indent(8) }}
{% endif %}