1+ <!doctype html>
2+ < html lang ="{{currentLanguage}} ">
3+ < head >
4+ < meta charset ="utf-8 " />
5+ < title > Docs TOC</ title >
6+ < link rel ="stylesheet " href ="/dist/index.css ">
7+ < link rel ="alternate icon " type ="image/png " href ="/assets/images/site/favicon.png ">
8+ < link rel ="icon " type ="image/svg+xml " href ="/assets/images/site/favicon.svg ">
9+ </ head >
10+
11+ < body class ="dev-toc p-3 m-3 ">
12+ < main class ="width-full ">
13+
14+ < h3 > Versions</ h3 >
15+ < ul class ="versions-list ">
16+ {% for version in allVersions %}
17+ < li > < a href ="/{{ version[0] }}/dev-toc "> {{ version[1].versionTitle }}</ a >
18+ {% endfor %}
19+ </ ul >
20+
21+ {% if allVersions[currentVersion] %}
22+ < h2 class ="mt-3 mb-3 "> < abbr > TOC</ abbr > for {{ allVersions[currentVersion].versionTitle }}</ h2 >
23+
24+ < button class ="btn mb-3 js-expand " type ="button "> Expand All</ button >
25+ < div />
26+
27+ {% for product in siteTree[currentLanguage][currentVersion].products %}
28+ < details class ="mb-1 "> < summary > {{product[1].title}}</ summary >
29+ < ul class ="products-list ">
30+ < li title ="{{product[1].title}} ">
31+ < a href ="/{{currentLanguage}}{{product[1].href}} "> {{ product[1].title }}</ a >
32+ {% for category in product[1].categories %}
33+ {% capture fullPathToCategory %}/{{currentLanguage}}{{category[1].href}}{% endcapture %}
34+ < ul >
35+ < li >
36+ < a href ="{{fullPathToCategory}} "> {{ category[1].title }}</ a >
37+ <!-- some categories have maptopics with child articles -->
38+ {% if category[1].maptopics %}
39+ < ul ">
40+ {% for maptopic in category[1].maptopics %}
41+ {% unless maptopic[1].hidden %}
42+ {% capture fullPathToMaptopic %}/{{currentLanguage}}{{maptopic[1].href}}{% endcapture %}
43+
44+ < li >
45+ < a href ="{{fullPathToMaptopic}} "> {{ maptopic[1].title }}</ a >
46+ < ul >
47+ {% for article in maptopic[1].articles %}
48+ {% capture fullPathToArticle %}/{{currentLanguage}}{{article[1].href}}{% endcapture %}
49+
50+ < li >
51+ < a href ="{{fullPathToArticle}} "> {{ article[1].title }}</ a >
52+ </ li >
53+ {% endfor %}
54+ </ ul >
55+ </ li >
56+ {% endunless %}
57+ {% endfor %}
58+ </ ul >
59+ <!-- some categories have no maptopics, only articles -->
60+ {% else %}
61+ < ul >
62+ {% for article in category[1].articles %}
63+ {% capture fullPathToArticle %}/{{currentLanguage}}{{article[1].href}}{% endcapture %}
64+ < li >
65+ < a href ="{{fullPathToArticle}} "> {{ article[1].title }}</ a >
66+ </ li >
67+ {% endfor %}
68+ </ ul >
69+ {% endif %}
70+ </ li >
71+ {% endfor %}
72+ </ ul >
73+ </ li >
74+ </ ul >
75+ </ details >
76+ {% endfor %}
77+ {% endif %}
78+
79+ {% include scripts %}
80+ </ main >
81+ </ body >
82+ </ html >
0 commit comments