|
27 | 27 | {% if project == 'CrateDB Cloud' %} |
28 | 28 | <li class="current"> |
29 | 29 | <a class="current-active" href="{{ pathto(master_doc) }}">CrateDB Cloud</a> |
30 | | - {% if pagename == 'feature/index' %} |
31 | | - {{ toctree(maxdepth=0|toint, collapse=True, includehidden=theme_globaltoc_includehidden|tobool) }} |
32 | | - {% else %} |
33 | | - {{ toctree(maxdepth=4|toint, collapse=True, includehidden=theme_globaltoc_includehidden|tobool) }} |
34 | | - {% endif %} |
| 30 | + {{ toctree(maxdepth=-1|toint, titles_only=True, collapse=True, includehidden=theme_globaltoc_includehidden|tobool) }} |
35 | 31 | </li> |
36 | 32 | {% else %} |
37 | 33 | <li class="navleft-item"><a href="/docs/cloud/">CrateDB Cloud</a></li> |
|
40 | 36 | {% if project == 'CrateDB: Guide' and pagename != 'home/index' %} |
41 | 37 | <li class="current"> |
42 | 38 | <a class="current-active" href="{{ pathto(master_doc) }}">Guides and Tutorials</a> |
43 | | - {{ toctree(maxdepth=4|toint, collapse=True, includehidden=theme_globaltoc_includehidden|tobool) }} |
| 39 | + {{ toctree(maxdepth=-1|toint, titles_only=True, collapse=True, includehidden=theme_globaltoc_includehidden|tobool) }} |
44 | 40 | </li> |
45 | 41 | {% else %} |
46 | 42 | <li class="navleft-item"><a href="/docs/guide/">Guides and Tutorials</a></li> |
|
49 | 45 | {% if project == 'CrateDB: Reference' %} |
50 | 46 | <li class="current"> |
51 | 47 | <a class="current-active" href="{{ pathto(master_doc) }}">Reference Manual</a> |
52 | | - {{ toctree(maxdepth=3|toint, collapse=True, includehidden=theme_globaltoc_includehidden|tobool) }} |
| 48 | + {{ toctree(maxdepth=-1|toint, titles_only=True, collapse=True, includehidden=theme_globaltoc_includehidden|tobool) }} |
53 | 49 | </li> |
54 | 50 | {% else %} |
55 | 51 | <li class="navleft-item"><a href="/docs/crate/reference/">Reference Manual</a></li> |
|
60 | 56 | {% if project == 'CrateDB: Admin UI' %} |
61 | 57 | <li class="current border-top"> |
62 | 58 | <a class="current-active" href="{{ pathto(master_doc) }}">Admin UI</a> |
63 | | - {{ toctree(maxdepth=1|toint, collapse=True, includehidden=theme_globaltoc_includehidden|tobool) }} |
| 59 | + {{ toctree(maxdepth=-1|toint, titles_only=True, collapse=True, includehidden=theme_globaltoc_includehidden|tobool) }} |
64 | 60 | </li> |
65 | 61 | {% else %} |
66 | 62 | <li class="navleft-item border-top"><a href="/docs/crate/admin-ui/">Admin UI</a></li> |
|
69 | 65 | {% if project == 'CrateDB: Crash CLI' %} |
70 | 66 | <li class="current"> |
71 | 67 | <a class="current-active" href="{{ pathto(master_doc) }}">CrateDB CLI</a> |
72 | | - {{ toctree(maxdepth=1|toint, collapse=False, includehidden=theme_globaltoc_includehidden|tobool) }} |
| 68 | + {{ toctree(maxdepth=-1|toint, titles_only=True, collapse=False, includehidden=theme_globaltoc_includehidden|tobool) }} |
73 | 69 | </li> |
74 | 70 | {% else %} |
75 | 71 | <li class="navleft-item"><a href="/docs/crate/crash/">CrateDB CLI</a></li> |
|
78 | 74 | {% if project == 'CrateDB Cloud: Croud CLI' %} |
79 | 75 | <li class="current"> |
80 | 76 | <a class="current-active" href="{{ pathto(master_doc) }}">Cloud CLI</a> |
81 | | - {{ toctree(maxdepth=1|toint, collapse=False, includehidden=theme_globaltoc_includehidden|tobool) }} |
| 77 | + {{ toctree(maxdepth=-1|toint, titles_only=True, collapse=False, includehidden=theme_globaltoc_includehidden|tobool) }} |
82 | 78 | </li> |
83 | 79 | {% else %} |
84 | 80 | <li class="navleft-item"><a href="/docs/cloud/cli/">Cloud CLI</a></li> |
|
94 | 90 | <li class="current"> |
95 | 91 | {% if project == 'CrateDB: Clients and Tools' %} |
96 | 92 | <a class="current-active" href="{{ pathto(master_doc) }}">Drivers and Integrations</a> |
97 | | - {{ toctree(maxdepth=3|toint, collapse=True, includehidden=theme_globaltoc_includehidden|tobool) }} |
| 93 | + {{ toctree(maxdepth=-1|toint, titles_only=True, collapse=True, includehidden=theme_globaltoc_includehidden|tobool) }} |
98 | 94 | {% else %} |
99 | 95 | <a class="current-active" href="/docs/crate/clients-tools/">Drivers and Integrations</a> |
100 | 96 | {% endif %} |
|
103 | 99 | {% if project == 'CrateDB JDBC' %} |
104 | 100 | <li class="current"> |
105 | 101 | <a class="current-active" href="{{ pathto(master_doc) }}">JDBC</a> |
106 | | - {{ toctree(maxdepth=3|toint, collapse=False, includehidden=theme_globaltoc_includehidden|tobool) }} |
| 102 | + {{ toctree(maxdepth=-1|toint, titles_only=True, collapse=False, includehidden=theme_globaltoc_includehidden|tobool) }} |
107 | 103 | </li> |
108 | 104 | {% else %} |
109 | 105 | <li class="navleft-item"><a href="/docs/jdbc/">JDBC</a></li> |
110 | 106 | {% endif %} |
111 | 107 | {% if project == 'CrateDB DBAL' %} |
112 | 108 | <li class="current"> |
113 | 109 | <a class="current-active" href="{{ pathto(master_doc) }}">PHP DBAL</a> |
114 | | - {{ toctree(maxdepth=3|toint, collapse=False, includehidden=theme_globaltoc_includehidden|tobool) }} |
| 110 | + {{ toctree(maxdepth=-1|toint, titles_only=True, collapse=False, includehidden=theme_globaltoc_includehidden|tobool) }} |
115 | 111 | </li> |
116 | 112 | {% else %} |
117 | 113 | <li class="navleft-item"><a href="/docs/dbal/">PHP DBAL</a></li> |
118 | 114 | {% endif %} |
119 | 115 | {% if project == 'CrateDB PDO' %} |
120 | 116 | <li class="current"> |
121 | 117 | <a class="current-active" href="{{ pathto(master_doc) }}">PHP PDO</a> |
122 | | - {{ toctree(maxdepth=3|toint, collapse=False, includehidden=theme_globaltoc_includehidden|tobool) }} |
| 118 | + {{ toctree(maxdepth=-1|toint, titles_only=True, collapse=False, includehidden=theme_globaltoc_includehidden|tobool) }} |
123 | 119 | </li> |
124 | 120 | {% else %} |
125 | 121 | <li class="navleft-item"><a href="/docs/pdo/">PHP PDO</a></li> |
126 | 122 | {% endif %} |
127 | 123 | {% if project == 'CrateDB Python' %} |
128 | 124 | <li class="current"> |
129 | 125 | <a class="current-active" href="{{ pathto(master_doc) }}">Python</a> |
130 | | - {{ toctree(maxdepth=3|toint, collapse=False, includehidden=theme_globaltoc_includehidden|tobool) }} |
| 126 | + {{ toctree(maxdepth=-1|toint, titles_only=True, collapse=False, includehidden=theme_globaltoc_includehidden|tobool) }} |
131 | 127 | </li> |
132 | 128 | {% else %} |
133 | 129 | <li class="navleft-item"><a href="/docs/python/">Python</a></li> |
134 | 130 | {% endif %} |
135 | 131 | {% if project == 'SQLAlchemy Dialect' %} |
136 | 132 | <li class="current"> |
137 | 133 | <a class="current-active" href="{{ pathto(master_doc) }}">SQLAlchemy</a> |
138 | | - {{ toctree(maxdepth=3|toint, collapse=False, includehidden=theme_globaltoc_includehidden|tobool) }} |
| 134 | + {{ toctree(maxdepth=-1|toint, titles_only=True, collapse=False, includehidden=theme_globaltoc_includehidden|tobool) }} |
139 | 135 | </li> |
140 | 136 | {% else %} |
141 | 137 | <li class="navleft-item"><a href="/docs/sqlalchemy-cratedb/">SQLAlchemy</a></li> |
142 | 138 | {% endif %} |
143 | 139 | {% if project == 'CrateDB Npgsql' %} |
144 | 140 | <li class="current"> |
145 | 141 | <a class="current-active" href="{{ pathto(master_doc) }}">.NET Npgsql</a> |
146 | | - {{ toctree(maxdepth=3|toint, collapse=False, includehidden=theme_globaltoc_includehidden|tobool) }} |
| 142 | + {{ toctree(maxdepth=-1|toint, titles_only=True, collapse=False, includehidden=theme_globaltoc_includehidden|tobool) }} |
147 | 143 | </li> |
148 | 144 | {% else %} |
149 | 145 | <li class="navleft-item"><a href="/docs/npgsql/">.NET Npgsql</a></li> |
|
167 | 163 | {% if project == 'CrateDB documentation theme' %} |
168 | 164 | <li class="current border-top"> |
169 | 165 | <a class="current-active" href="{{ pathto(master_doc) }}">Documentation theme</a> |
170 | | - {{ toctree(maxdepth=3|toint, collapse=True, includehidden=theme_globaltoc_includehidden|tobool) }} |
| 166 | + {{ toctree(maxdepth=-1|toint, titles_only=True, collapse=True, includehidden=theme_globaltoc_includehidden|tobool) }} |
171 | 167 | </li> |
172 | 168 | {% endif %} |
173 | 169 |
|
174 | 170 | {% if project == 'Doing Docs' %} |
175 | 171 | <li class="current"> |
176 | 172 | <a class="current-active" href="{{ pathto(master_doc) }}">Doing Docs at CrateDB</a> |
177 | | - {{ toctree(maxdepth=2|toint, collapse=False, includehidden=theme_globaltoc_includehidden|tobool) }} |
| 173 | + {{ toctree(maxdepth=-1|toint, titles_only=True, collapse=False, includehidden=theme_globaltoc_includehidden|tobool) }} |
178 | 174 | </li> |
179 | 175 | {% endif %} |
180 | 176 |
|
|
0 commit comments