Skip to content

Making left sidebar have dropdowns for sub TOCs #318

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

You must be logged in to vote

Are you trying to get sidebar dropdowns in a Furo-based documentation site?

Here's a small example of how to do that:

index.rst

Home
====

.. toctree::
   page
   dropdown/index

page.rst

Page
====

dropdown/index.rst

Dropdown
========

.. toctree::
   inner

dropdown/inner.rst

Inner
====

conf.py

html_theme = "furo"

This will generate:

Replies: 2 comments 4 replies

Comment options

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

@pradyunsg
Comment options

Comment options

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

@pradyunsg
Comment options

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