Skip to content

Commit 09da4be

Browse files
committed
#126 added spans to @params
1 parent 1733bd2 commit 09da4be

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

_layouts/api.html

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -64,12 +64,12 @@ <h2>API Reference</h2>
6464
{% if render %}
6565
<div id="method_{{ name | slugify }}" class="api_method_wrapper">
6666
{{ method.description.summary | markdownify }}
67-
<ul>
67+
<ul class="tags">
6868
{% for tag in method.tags %}
6969
{% if tag.type == "param" %}
70-
<li>&#64;{{ tag.type }} &#123; {{ tag.types | join: ' | ' }} &#125; {{ tag.name }} {{ tag.description }}</li>
70+
<li class="tag"><span class="type">&#64;{{ tag.type }}</span> <span class="types">&#123; {{ tag.types | join: ' | ' }} &#125;</span> <span class="name">{{ tag.name }}</span> <span class="desc">{{ tag.description }}</span></li>
7171
{% 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>
72+
<li class="tag"><span class="type">&#64;{{ tag.type }}</span> {% if tag.url %}<span class="type"><a href='{{ tag.url }}' target='_blank'>{{ tag.url }}</a></span>{% else %}<span class="name">{{ tag.local }}</span>{% endif %}</li>
7373
{% endif %}
7474
{% endfor %}
7575
</ul>

0 commit comments

Comments
 (0)