Skip to content

Commit 7acb0bb

Browse files
committed
Merge pull request #130 from aaronsofaly/master
Fixed double scrollbar issue and added back missing @params
2 parents 1fa94d8 + 09da4be commit 7acb0bb

File tree

1 file changed

+11
-3
lines changed

1 file changed

+11
-3
lines changed

_layouts/api.html

Lines changed: 11 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -41,8 +41,6 @@
4141
</div>
4242
</div>
4343
</div>
44-
<div class="antiscroll-scrollbar antiscroll-scrollbar-vertical antiscroll-scrollbar-shown" style="height: 76.1754px; top: 0px;">
45-
</div>
4644
</div>
4745
{% endif %}
4846
</nav>
@@ -65,7 +63,17 @@ <h2>API Reference</h2>
6563
{% endfor %}
6664
{% if render %}
6765
<div id="method_{{ name | slugify }}" class="api_method_wrapper">
68-
{{ method.description.full | markdownify }}
66+
{{ method.description.summary | markdownify }}
67+
<ul class="tags">
68+
{% for tag in method.tags %}
69+
{% if tag.type == "param" %}
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>
71+
{% elsif tag.type == "see" %}
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>
73+
{% endif %}
74+
{% endfor %}
75+
</ul>
76+
{{ method.description.body | markdownify }}
6977
</div>
7078
{% endif %}
7179
{% endfor %}

0 commit comments

Comments
 (0)