Skip to content

Commit 6d21a85

Browse files
authored
[docs] Enforce the same lest pane template in sphinx config (#316)
Solve the problem when part of ToC disappears on the left pane on some pages
1 parent 4117a61 commit 6d21a85

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

docs/conf.py

+9
Original file line numberDiff line numberDiff line change
@@ -25,3 +25,12 @@
2525

2626
html_theme = 'sphinx_rtd_theme'
2727
html_static_path = ['_static']
28+
29+
html_sidebars = {
30+
"**": ["globaltoc.html", "sourcelink.html", "searchbox.html"]
31+
}
32+
33+
html_theme_options = {
34+
"collapse_navigation": False,
35+
"navigation_depth": 2,
36+
}

0 commit comments

Comments
 (0)