Skip to content

Flyout: ability to disable "keep the page when switching version/language" #267

@humitos

Description

@humitos

We added the feature to keep the page when switching version/language from the flyout. This feature was requested in #211 and it was also how the old flyout used to worked.

However, there may be cases where the project owner may not want this behavior and want to disable it. I think we could add a setting in the WebUI to disable this behavior in case it's wanted.

I found myself wanting this for test-builds project since all the "versions" of this project are unrelated between them and even each "version" may use a complete different doctool (e.g. Sphinx, Docusaurus or Pelican). Opening a post on the Pelican version will make all the links from the flyout to be invalid since none of those files exist on any of the other versions.

I know this may be an edge case, because of the way how we use the test-builds project. However, I wanted to open an issue here to expose this to other users and receive feedback to decide whether or not implement the ability to disable it.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions