Skip to content

Commit 24165e1

Browse files
committed
[DOC] hide toc parents
1 parent fea4164 commit 24165e1

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

docs/source/conf.py

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -145,6 +145,10 @@ def extract_pyproject_metadata():
145145

146146
add_module_names = False
147147

148+
# Hide class name prefix in page TOC (e.g., show "default_search_space" instead of
149+
# "AckleyFunction.default_search_space")
150+
toc_object_entries_show_parents = "hide"
151+
148152
# The name of the Pygments (syntax highlighting) style to use.
149153
pygments_style = "sphinx"
150154

0 commit comments

Comments
 (0)