Skip to content

Commit 033702e

Browse files
committed
docs: allow TOC items uncollapse without moving between pages
1 parent 41dc398 commit 033702e

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

doc/conf.py

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -84,6 +84,10 @@
8484
html_theme_options = {
8585
'collapse_navigation': False,
8686
}
87+
if not on_rtd: # only import and set the theme if we're building docs locally
88+
html_theme = 'sphinx_rtd_theme'
89+
html_style = None
90+
using_rtd_theme = True
8791

8892

8993
# If true, an OpenSearch description file will be output, and all pages will

0 commit comments

Comments
 (0)