Skip to content

Commit

Permalink
try to limit sidebar to a single section
Browse files Browse the repository at this point in the history
  • Loading branch information
schiebel committed Jan 23, 2024
1 parent 6913da3 commit 79b9e31
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
3 changes: 3 additions & 0 deletions docs/source/_static/css/sidebar-tweak.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
#sidebar li.toctree-l1:not(.current){
display: none;
}
2 changes: 1 addition & 1 deletion docs/source/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,7 @@

# These paths are either relative to html_static_path
# or fully qualified paths (eg. https://...)
html_css_files = ['css/s4defs-roles.css']
html_css_files = ['css/s4defs-roles.css', 'sidebar-tweak.css']

###
### cause documentation for class.__call__ to be generated
Expand Down

0 comments on commit 79b9e31

Please sign in to comment.