diff --git a/docs/templates/docs.html b/docs/templates/docs.html
index 9cd53bd7..d2002330 100644
--- a/docs/templates/docs.html
+++ b/docs/templates/docs.html
@@ -20,7 +20,20 @@
{% if h2.children %}
- {% for h3 in h2.children %}- {{ h3.title }}
{% endfor %}
+ {% for h3 in h2.children %}
+ {% set index3 = loop.index %}
+ -
+ {{ h3.title }}
+ {% if h3.children %}
+
+
+ {% endif %}
+ {% endfor %}
+
{% endif %}