Skip to content

Automatically collapse items in right sidebar #584

Closed Answered by pradyunsg
kevinzakka asked this question in Questions
Discussion options

You must be logged in to vote

Furo doesn't provide any way to do that. (update: Sphinx does!)

My typical suggestion for such pages is to break them up. If you're struggling to navigate the page with the right sidebar, that's a symptom of too-much-content on the page. I think it's better to solve the problem by restructuring the content into sub-pages and creating a section instead.

Having too-long pages has multiple negative effects in my experience (off the top of my head: longer page load times on slow connections, worse navigabilty within the documentation overall, worse search results from within Sphinx, worse SEO from broader search engines since the page has "less focus", and more scrolling to get to where you w…

Replies: 2 comments 3 replies

Comment options

You must be logged in to vote
2 replies
@kevinzakka
Comment options

@pradyunsg
Comment options

Answer selected by pradyunsg
Comment options

You must be logged in to vote
1 reply
@pradyunsg
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
2 participants