forked from streetissue/streetissue.github.io
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex2.html
43 lines (40 loc) · 1.23 KB
/
index2.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
41
42
43
---
layout: default
sidebar: true
body_class: docs
title: My App Docs
---
<script src="/js/lunr.min.js"></script>
<script src="/js/search.js"></script>
{% for collection in site.collections %}
{% if collection[1].render %}
{% for doc in collection[1].docs %}
<section class="doc-content full">
<section class="left-docs">
<h3><a id="{{ doc.url | replace: '/', '' | replace: '.', '' }}">
{{doc.title}}
{% if doc.type %}<span class="endpoint {{doc.type}}"></span> {% endif %}</a></h3>
{% if doc.description %}
<p class="description">{{doc.description}}</p>
{% endif %}
{% if doc.parameters %}
<h6> {{ doc.parameters.title }} </h6>
<dl class="parameters">
{% for parameter in doc.parameters.data %}
{% for k in parameter %}
<dt>{{k[0]}}</dt>
<dd>
<strong> {{k[1][0]}} </strong>
<br />
{{k[1][1]}}
</dd>
{% endfor %}
{% endfor %}
</dl>
{% endif %}
{{doc.content}}
</section>
</section>
{% endfor %}
{% endif %}
{% endfor %}