Skip to content

Commit 2846d12

Browse files
committed
RPC doc to dev menu
1 parent b6e50f4 commit 2846d12

File tree

1 file changed

+21
-0
lines changed

1 file changed

+21
-0
lines changed

_includes/_navigation.html

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,27 @@
2727
{% endif %}
2828

2929
{% endfor %}
30+
{% if link[0] == 'dev' %}
31+
<li>
32+
{% for article in site.doc %}
33+
{% if article.btcversion == "index" %}
34+
<a href="{{article.url}}">RPC Docs</a>
35+
{% endif %}
36+
{% endfor %}
37+
{% assign groups = site.doc | group_by:"btcversion" | sort: "name" %}
38+
<ul>
39+
{% for group in groups %}
40+
{% if group.name != "index" %}
41+
{% for article in group.items %}
42+
{% if article.name == "index" %}
43+
<li><a href="{{article.url}}">{{group.name}}</a></li>
44+
{% endif %}
45+
{% endfor %}
46+
{% endif %}
47+
{% endfor %}
48+
</ul>
49+
</li>
50+
{% endif %}
3051
</ul>
3152
</li>
3253
{% endif %}

0 commit comments

Comments
 (0)