forked from steemit/devportal
-
Notifications
You must be signed in to change notification settings - Fork 0
/
apidefinitions.html
33 lines (31 loc) · 1017 Bytes
/
apidefinitions.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
---
title: API Docs - API Definitions
section: API Definitions
---
{% assign sorted_collections = site.collections | where:'title', "API Definitions" %}
{% for collection in sorted_collections %}
{% assign sorted_docs = collection.docs | sort: "position" %}
{% for doc in sorted_docs %}
<section id="{{doc.id | replace: '/', '' | replace: '.', ''}}"class="doc-content {{ doc.id | replace: '/', '' | replace: '.', '' }}">
<section class="left-docs">
<h3>
<a id="{{ doc.id | 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 %}
{{ doc.content | replace: "<dl>", "<h6>Parameters</h6><dl>" }}
</section>
{% if doc.right_code %}
<section class="right-code">
{{ doc.right_code | markdownify }}
</section>
{% endif %}
</section>
{% endfor %}
{% endfor %}