forked from Communote/communote.github.io
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathurls_doc.txt
41 lines (39 loc) · 1.57 KB
/
urls_doc.txt
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
---
layout: none
search: exclude
---
{% include custom/conditions.html %}
{% if site.project == "communote" or site.project == "doc_users" or site.project == "doc_developers" %}
{% for entry in sidebar %}
{% for subcategory in entry.subcategories %}
{% for item in subcategory.items %}
{% if subcategory.type != "frontmatter" %}
{{item.url | replace: "/doc/","" | replace: ".html", ""}}:
title: "{{item.title}}"
url: "{{item.url | prepend: '..' }}"
link: "<a href='{{item.url | prepend: ".." }}'>{{item.title}}</a>"
{% endif %}
{% for thirdlevel in item.thirdlevel %}
{% for fourthlevel in thirdlevel.thirdlevelitems %}
{% if thirdlevel.type != "frontmatter" %}
{{thirdlevel.url | replace: "/doc/","" | replace: ".html", ""}}:
title: "{{fourthlevel.title}}"
url: "{{fourthlevel.url | prepend: '..' }}"
link: "<a href='{{fourthlevel.url | prepend: '..' }}'>{{fourthlevel.title}}</a>"
{% endif %}
{% endfor %}
{% endfor %}
{% endfor %}
{% endfor %}
{% endfor %}
{% for entry in topnav %}
{% for subcategory in entry.subcategories %}
{% unless subcategory.external_url %}
{{subcategory.url | replace: "/doc/","" | replace: ".html", ""}}:
title: "{{subcategory.title}}"
url: "{{subcategory.url | prepend: '..' }}"
link: "<a href='{{subcategory.url | prepend: '..'" }}'>{{subcategory.title}}</a>"
{% endunless %}
{% endfor %}
{% endfor %}
{% endif %}