sphinx-bootstrap-theme
sphinx-bootstrap-theme copied to clipboard
Left sidebar with global toc
Hi Ryan !
First thanks for all your work on this beautiful theme(s) :)
I'm trying the last version of it, with sandstone
bootswatch theme for my current documentation project.
I want to :
- enable the sidebar on all pages, with global toc in it (
globaltoc.html
) - remove global toc from top nav.
So here is (a part of) my configuration in conf.py
html_sidebars = {
'**': ['globaltoc.html'],
}
But ... result is not really good for the 1.
: items are collapsed and visible only after clicking on them (same behavior as in the top nav, in short)
I think I need to override globaltoc.html
in my _templates
folder (or maybe create a derivative template file) removing dropdown related stuff
...
What do you think as "the best of" of doing this ?
Regards
Hi @rroblik ! Is your project open source and if so, can you point me to it / the build steps?
If not, can you create a branch / fork and tweak the demo application conf.py
to reproduce what you're seeing with the theme you're using?
Thanks!