sphinx-bootstrap-theme icon indicating copy to clipboard operation
sphinx-bootstrap-theme copied to clipboard

Left sidebar with global toc

Open rroblik opened this issue 7 years ago • 1 comments

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 :

  1. enable the sidebar on all pages, with global toc in it (globaltoc.html)
  2. 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

rroblik avatar Feb 02 '17 09:02 rroblik

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!

ryan-roemer avatar Feb 02 '17 20:02 ryan-roemer