Skip to content

Commit

Permalink
Primary Navigation: Increase toctree.maxdepth to 4 for Cloud and Guides
Browse files Browse the repository at this point in the history
A few sections may require more depth. Let's probe how this could make a
difference.
  • Loading branch information
amotl committed Aug 7, 2024
1 parent ebd2865 commit 658ce5a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/crate/theme/rtd/crate/sidebartoc.html
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@
{% if project == 'CrateDB Cloud' %}
<li class="current">
<a class="current-active" href="{{ pathto(master_doc) }}">CrateDB Cloud</a>
{{ toctree(maxdepth=2|toint, collapse=True, includehidden=theme_globaltoc_includehidden|tobool) }}
{{ toctree(maxdepth=4|toint, collapse=True, includehidden=theme_globaltoc_includehidden|tobool) }}
</li>
{% else %}
<li class="navleft-item"><a href="/docs/cloud/">CrateDB Cloud</a></li>
Expand All @@ -36,7 +36,7 @@
{% if project == 'CrateDB: Guide' and pagename != 'home/index' %}
<li class="current">
<a class="current-active" href="{{ pathto(master_doc) }}">Guides and Tutorials</a>
{{ toctree(maxdepth=3|toint, collapse=True, includehidden=theme_globaltoc_includehidden|tobool) }}
{{ toctree(maxdepth=4|toint, collapse=True, includehidden=theme_globaltoc_includehidden|tobool) }}
</li>
{% else %}
<li class="navleft-item"><a href="/docs/guide/">Guides and Tutorials</a></li>
Expand Down

0 comments on commit 658ce5a

Please sign in to comment.