1 | ---
|
2 | layout: default
|
3 | ---
|
4 |
|
5 | {% assign docs = site.documentation | sort: "order" %}
|
6 |
|
7 | <div class="row">
|
8 | <div class="col-md-7">
|
9 | {{content}}
|
10 | </div>
|
11 |
|
12 | <div class="col-md-4">
|
13 | <nav role="navigation" class="documentation-nav">
|
14 | <ol>
|
15 | {% for docpage in docs %}
|
16 | <li>
|
17 | <a href="{{docpage.url}}">{{docpage.title}}</a>
|
18 |
|
19 | {% assign sections_size = docpage.sections | size %}
|
20 | {% if sections_size > 0 %}
|
21 | <ol>
|
22 | {% for section in docpage.sections %}
|
23 | <li>
|
24 | <a href="{{docpage.url}}#{{section.anchor}}">
|
25 | {{section.title}}
|
26 | </a>
|
27 | </li>
|
28 | {% endfor %}
|
29 | </ol>
|
30 | {% endif %}
|
31 | </li>
|
32 | {% endfor %}
|
33 | <ol>
|
34 | </nav>
|
35 | </div>
|
36 | </div>
|