We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8ff4927 commit efebc38Copy full SHA for efebc38
doc-tool/resources/_includes/sidebar.html
@@ -1,5 +1,11 @@
1
-<div class="index-wrapper">
2
- {% include "toc" %}
+<div class="index-wrapper" style="top: {{ sidebarTop }};">
+ <ul class="toc">
3
+ {% assign parent = page.path | first %}
4
+ {% for title in sidebar %}
5
+ <li>{% renderTitle title, parent %}</li>
6
+ {% endfor %}
7
+ </ul>
8
+
9
<ul class="index-entities">
10
{% if docs.size > 0 %}
11
<li class="index-title">
@@ -30,9 +36,3 @@ <h1><a class="entity-name" href="{{ site.baseurl }}/api/{{ pkg.path | join: "/"
30
36
{% endfor %}
31
37
</ul>
32
38
</div>
33
-<script>
34
-function toggleMenu() {
35
- var wrapper = document.getElementById("content-wrapper");
- wrapper.classList.toggle("toggled");
-}
-</script>
doc-tool/resources/_includes/toc.html
0 commit comments