-
Notifications
You must be signed in to change notification settings - Fork 59
/
tocstart.html
40 lines (37 loc) · 1.25 KB
/
tocstart.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
---
title: "Chapters"
permalink: tocstart.html
course: "Documenting REST APIs"
sidebar: docapis
layout: kindle
progress: false
last-modified: 2020-11-02
---
<div class="tocstart">
{% assign sidebar = site.data[site.sidebar].folders %}
<div id="navig">
<ul id="docnavsidebar" class="docnav">
{% for folder in sidebar %}
<li class="sectionHead"><a href="{{folder.jurl | remove: "/"}}">{{ folder.title }}</a>
{% comment %}
{% for folderitem in folder.folderitems %}
{% for subfolder in folderitem.subfolders %}
<ul>
<li class=""><a href="{{subfolder.jurl | remove: "/"}}">{{ subfolder.title }}</a>
{% for subfolderitem in subfolder.subfolderitems %}
{% for subsubfolder in subfolderitem.subsubfolders %}
<ul>
<li class="sectionHead"><a href="{{subsubfolder.jurl | remove: "/"}}">{{ subsubfolder.title }}</a></li>
</ul>
{% endfor %}
{% endfor %}
</li>
</ul>
{% endfor %}
{% endfor %}
{% endcomment %}
</li>
{% endfor %}
</ul>
</div>
</div>