-
-
Notifications
You must be signed in to change notification settings - Fork 628
Open
Labels
PR wantedFeature is discussed or bug is confirmed, PR neededFeature is discussed or bug is confirmed, PR neededdocsDocumentation relatedDocumentation relatedenhancementImprovements to functionalityImprovements to functionalitygood first issueA good item for first time contributors to work onA good item for first time contributors to work onhelp wantedRequest help from the communityRequest help from the communitymaintenanceRelated to maintenance processesRelated to maintenance processes
Description
What's the problem this feature will solve?
STORY: Users can skip to document headings with a linked Table of Contents in the sphinx docs
Describe the solution you'd like
- DOC: conf.py:
html_sidebars = {...}
- https://www.sphinx-doc.org/en/master/usage/configuration.html#confval-html_sidebars
- examples:
- https://github.com/wrdrd/docs/blob/6a1c1cc6f2b1d695e8ca70119da013fc28081bc8/docs/conf.py#L163C1-L183
- https://sphinx-book-theme.readthedocs.io/en/stable/sections/sidebar-primary.html#control-the-left-sidebar-items
- https://pydata-sphinx-theme.readthedocs.io/en/stable/user_guide/layout.html#primary-sidebar-left
Alternative Solutions
- DOC: README: Add a document-level TOC with mystmd syntax for the docutils
.. contents::
RST directive like this:```{contents} ```
Additional context
Metadata
Metadata
Assignees
Labels
PR wantedFeature is discussed or bug is confirmed, PR neededFeature is discussed or bug is confirmed, PR neededdocsDocumentation relatedDocumentation relatedenhancementImprovements to functionalityImprovements to functionalitygood first issueA good item for first time contributors to work onA good item for first time contributors to work onhelp wantedRequest help from the communityRequest help from the communitymaintenanceRelated to maintenance processesRelated to maintenance processes