Skip to content
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

Open
Rapptz opened this issue Oct 18, 2023 · 0 comments · May be fixed by #9614
Open

Create a (mobile friendly) double TOC layout #9613

Rapptz opened this issue Oct 18, 2023 · 0 comments · May be fixed by #9614

Comments

@Rapptz
Copy link
Owner

Rapptz commented Oct 18, 2023

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 the toc variable.

It needs to be mobile friendly of course. Once this is done then it should be possible to do everything else.

@Rapptz Rapptz converted this from a draft issue Oct 18, 2023
@Rapptz Rapptz changed the title Create a (mobile friendly) double TOC layout (EvieePy) Create a (mobile friendly) double TOC layout Oct 18, 2023
@oliver-ni oliver-ni linked a pull request Oct 18, 2023 that will close this issue
6 tasks
@Rapptz Rapptz linked a pull request Oct 18, 2023 that will close this issue
6 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Development

Successfully merging a pull request may close this issue.

1 participant