ryan-roemer/sphinx-bootstrap-theme

Could localtoc in sidebar support depth option?

Open

#169 opened on Nov 28, 2017

View on GitHub
 (2 comments) (1 reaction) (0 assignees)HTML (587 stars) (213 forks)batch import
featurehelp wanted

Description

For a page contains lots of headings and subheadings, if we generate localtoc in sidebar, the sidebar would be too long to display and it doesn't support scroll well, sometimes even overflows the footer. So, could localtoc support a depth option and then we can control the length of sidebar?

Contributor guide