Skip to content

Create a (mobile friendly) double TOC layout #9613

Open
@Rapptz

Description

@Rapptz

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    Status

    In Progress

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions