Skip to content

Commit 1733bd2

Browse files
committed
#126 added back missing @params
1 parent 439e424 commit 1733bd2

File tree

1 file changed

+11
-1
lines changed

1 file changed

+11
-1
lines changed

_layouts/api.html

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,17 @@ <h2>API Reference</h2>
6363
{% endfor %}
6464
{% if render %}
6565
<div id="method_{{ name | slugify }}" class="api_method_wrapper">
66-
{{ method.description.full | markdownify }}
66+
{{ method.description.summary | markdownify }}
67+
<ul>
68+
{% for tag in method.tags %}
69+
{% if tag.type == "param" %}
70+
<li>&#64;{{ tag.type }} &#123; {{ tag.types | join: ' | ' }} &#125; {{ tag.name }} {{ tag.description }}</li>
71+
{% elsif tag.type == "see" %}
72+
<li>&#64;{{ tag.type }} {% if tag.url %}<a href='{{ tag.url }}' target='_blank'>{{ tag.url }}</a>{% else %}{{ tag.local }}{% endif %}</li>
73+
{% endif %}
74+
{% endfor %}
75+
</ul>
76+
{{ method.description.body | markdownify }}
6777
</div>
6878
{% endif %}
6979
{% endfor %}

0 commit comments

Comments
 (0)