Add param list output
parent
8010a6463f
commit
11cc2b29b9
@ -1,12 +1,19 @@
|
||||
.. dn:{{ type.lower() }}:: {{ name }}
|
||||
|
||||
{% if summary %}
|
||||
{% if summary %}
|
||||
|
||||
{% macro render() %}{{ summary }}{% endmacro %}
|
||||
{{ render()|indent(4) }}
|
||||
|
||||
{% endif %}
|
||||
{% endif %}
|
||||
|
||||
.. code-block:: csharp
|
||||
{%- for param in parameters %}
|
||||
:param {{ param.name }}: {{ param.desc }}
|
||||
{%- if param.type %}
|
||||
:type {{ param.name }}: {{ param.type }}
|
||||
{%- endif %}
|
||||
{%- endfor %}
|
||||
|
||||
{{ syntax }}
|
||||
.. code-block:: csharp
|
||||
|
||||
{{ example }}
|
||||
|
Loading…
Reference in New Issue