haskellfoundation / hs-opt-handbook.github.io

The Haskell Optimization Handbook
https://haskell.foundation/hs-opt-handbook.github.io/
Creative Commons Attribution 4.0 International
173 stars 12 forks source link

Show a finer-grained table of contents in sidebar #37

Open doyougnu opened 2 years ago

doyougnu commented 2 years ago

According to the sphinx docs we should be able to do something like:

html_sidebars = { '**':
                  ['localtoc.html',
                   'relations.html',
                   'searchbox.html'
                   ]
                }

in conf.py, unfortunately for whatever reason this makes the landing page for the book (and every page actually) a blank white screen on chrome and firefox :shrug:

This ticket is done when:

I suspect this is a css issue because the page source still contains the content of each .rst file. I bet the sidebar is expanding to the whole screen or something strange like that.