haskellfoundation / haskellfoundation/hs-opt-handbook.github.io

Show a finer-grained table of contents in sidebar

Open
#37 0 comments 0 reactions 0 assignees View on GitHub
bug sphinx
Dominant language
HTML
Stars
190
Forks
11
PR merge metrics
No merged PRs in 30d

Description

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:
- We have a fine grained table of contents in the sidebar
- It actually works without nuking all content in the book.

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.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.