sphinx-autoapi/autoapi/templates/dotnet/base_embed.rst
Eric Holscher 095b1e5b29 Add Indentity as the default dotnet testing project.
Also lots of little cleanup to remove errors on those builds.
2015-07-20 14:48:25 -07:00

31 lines
672 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 }}
{%- endif %}