Skip to content

Commit 97ae29d

Browse files
Set nested_sections to False for Sphinx-Gallery 0.11.0 regarding a correct navgation bar (#2046)
1 parent 09f9e65 commit 97ae29d

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
@@ -116,6 +116,10 @@
116116
"image_scrapers": (PyGMTScraper(),),
117117
# Removes configuration comments from scripts
118118
"remove_config_comments": True,
119+
# Disable "nested_sections" (default is True), to
120+
# generate only a single index file for the whole gallery.
121+
# This is a new feature up on Sphinx-Gallery 0.11.0.
122+
"nested_sections": False,
119123
}
120124

121125
# Sphinx project configuration

0 commit comments

Comments
 (0)