Skip to content

Commit

Permalink
Allow overriding toc levels at the guide level
Browse files Browse the repository at this point in the history
For reference guides, having a deeper TOC might make sense, typically
for the Qute reference guide.
  • Loading branch information
gsmet committed Aug 2, 2024
1 parent 01c36ff commit 534dfdd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion _layouts/guides.html
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ <h1 class="text-caps">{{page.title}} {{page.docversion}}</h1>
{{ content }}
</div>
<div class="grid__item width-4-12 width-12-12-m tocwrapper">
<div class="hide-mobile toc">{{ page.document | tocify_asciidoc: 2 }}</div>
<div class="hide-mobile toc">{{ page.document | tocify_asciidoc }}</div>
</div>
</div>
{% if relations and relations[guide_url] -%}
Expand Down

0 comments on commit 534dfdd

Please sign in to comment.