Skip to content

Please provide a way for Sphinx themes to "take over" the flyout menu #11688

@mgeier

Description

@mgeier

The forced activation of the new flyout menu is doubly annoying:

  • for already published versions, this breaks the existing integration

  • for new versions, even if the theme supports integration of (parts of) the flyout menu (e.g. sphinx_rtd_theme), it still has to be manually activated by site maintainer (e.g. using flyout_display), and the forced flyout has to be manually disabled in the RTD settings.

I have kinda accepted that old versions of the docs will get the distracting new flyout, but the problem is that since it has to be disabled for new versions (and it can only be disabled for the whole project), it will also be disabled for old versions.
And even though the floating flyout is annoying, it is still better than having no way of switching between versions!

So my wish is: please provide some way for theme authors to provide whatever integration they want (as I think is available already), and make it possible for a theme to disable the floating flyout for the current version where this theme is used (without requiring site maintainers to change their RTD settings).

This would mean that old versions get the floating flyout (annoying, but acceptable), but new versions get whatever the theme authors intended (which most likely means no floating flyout).

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