diff --git a/_includes/apiSidebar.html b/_includes/apiSidebar.html index 8fd2ba0..754c90e 100644 --- a/_includes/apiSidebar.html +++ b/_includes/apiSidebar.html @@ -19,6 +19,7 @@
+ {% assign items = "" %} {% for method in site.data.chai %} {% assign render = false %} {% assign name = false %} @@ -31,9 +32,13 @@ {% endif %} {% endfor %} {% if render %} - {{ name }} + {% capture items %}{{ items | append: ", " | append: name }}{% endcapture %} {% endif %} {% endfor %} + {% assign items = items | remove_first: ", " | split: ", " | sort_natural %} + {% for name in items %} + {{ name }} + {% endfor %}