Skip to content

What's the right way to set per-page secondary sidebar content? #1535

Closed
@peytondmurray

Description

@peytondmurray

I'm building my docs with the latest verison of pydata-sphinx-theme. I'd really like to have the secondary sidebar show up everywhere except in the docs landing page (index). I noticed that the PST docs don't have a secondary sidebar on the landing page. From what I can tell, those docs are just using the default value for theme_secondary_sidebar_items, so I'm wondering if there's something more I need to do to prevent the secondary sidebar from rendering on the index.

As a related issue, it would be nice to be able to set secondary sidebar templates on a per-page basis in the same way that we can already do by providing a dictionary to html_sidebars.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions