Skip to content

Commit b159169

Browse files
committed
Primary Navigation: Increase toctree.maxdepth to 4 for Cloud and Guides
A few sections may require more depth. Let's probe how this could make a difference.
1 parent 1bb2f8e commit b159169

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/crate/theme/rtd/crate/sidebartoc.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@
2727
{% if project == 'CrateDB Cloud' %}
2828
<li class="current">
2929
<a class="current-active" href="{{ pathto(master_doc) }}">CrateDB Cloud</a>
30-
{{ toctree(maxdepth=2|toint, collapse=True, includehidden=theme_globaltoc_includehidden|tobool) }}
30+
{{ toctree(maxdepth=4|toint, collapse=True, includehidden=theme_globaltoc_includehidden|tobool) }}
3131
</li>
3232
{% else %}
3333
<li class="navleft-item"><a href="/docs/cloud/">CrateDB Cloud</a></li>
@@ -36,7 +36,7 @@
3636
{% if project == 'CrateDB: Guide' and pagename != 'home/index' %}
3737
<li class="current">
3838
<a class="current-active" href="{{ pathto(master_doc) }}">Guides and Tutorials</a>
39-
{{ toctree(maxdepth=3|toint, collapse=True, includehidden=theme_globaltoc_includehidden|tobool) }}
39+
{{ toctree(maxdepth=4|toint, collapse=True, includehidden=theme_globaltoc_includehidden|tobool) }}
4040
</li>
4141
{% else %}
4242
<li class="navleft-item"><a href="/docs/guide/">Guides and Tutorials</a></li>

0 commit comments

Comments
 (0)