Skip to content

Commit 5e5aa54

Browse files
authored
Changed: Enable hiding body and keeping sidebar for toctree
1 parent d384917 commit 5e5aa54

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

docs/source/_templates/layout.html

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,12 @@
1515
{% endblock %}
1616
</head>
1717
<body>
18+
<div class="sidebar">
19+
{% block sidebartoc %}
20+
<h3>{{ _('Table Of Contents') }}</h3>
21+
{{ toctree(includehidden=True) }}
22+
{% endblock %}
23+
</div>
1824
<div class="container">
1925
{% block content %}
2026
{{ super() }}

0 commit comments

Comments
 (0)