-
-
Notifications
You must be signed in to change notification settings - Fork 3.7k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Create a (mobile friendly) double TOC layout #9613
Comments
Rapptz
changed the title
Create a (mobile friendly) double TOC layout (EvieePy)
Create a (mobile friendly) double TOC layout
Oct 18, 2023
6 tasks
6 tasks
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
This is a blocker for basically everything.
Right now the current TOC is on the left side of the page, this is called the local TOC. However, Sphinx also has something called global TOC. It would be ideal to have the global TOC on the left and the local TOC on the right in the desktop view.
Certain projects and themes already do this:
The global TOC can be accessed from a template using the
toctree
callable and the local TOC is using thetoc
variable.It needs to be mobile friendly of course. Once this is done then it should be possible to do everything else.
The text was updated successfully, but these errors were encountered: