Skip to content
This repository was archived by the owner on Feb 4, 2023. It is now read-only.

Commit b5b22d0

Browse files
committed
smater toc in sidebar
1 parent 282795b commit b5b22d0

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

conf.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -128,7 +128,8 @@
128128

129129
# Custom sidebar templates, maps document names to template names.
130130
html_sidebars = {
131-
'**': ['globaltoc.html', 'relations.html', 'sourcelink.html', 'searchbox.html'],
131+
'*': ['globaltoc.html', 'relations.html', 'sourcelink.html', 'searchbox.html'],
132+
'modules/*': ['localtoc.html', 'globaltoc.html', 'relations.html', 'sourcelink.html', 'searchbox.html'],
132133
}
133134

134135
# Additional templates that should be rendered to pages, maps page names to

0 commit comments

Comments
 (0)