Skip to content

Docs version selector issue #1504

@pz-max

Description

@pz-max

Version Checks (indicate both or one)

  • I have confirmed this bug exists on the lastest release of PyPSA.

  • I have confirmed this bug exists on the current master branch of PyPSA.

Issue Description

I noticed for several months now that a version selector issue persists in the pypsa documentation. See screenshot. It often appears after scrolling up and down etc.
Image

Why does this error likely happen? Because this is a custom event/embedding on the website which listens to readthedocs. The guilty script is probably: https://github.com/PyPSA/PyPSA/blob/master/docs/assets/javascripts/readthedocs.js which is missing some sense of stopping the "version field creation process".

Reproducible Example

This can't be reproduced locally. Just on a readthedocs webhosted version.

For testing a solution, one could self-host a forked PyPSA version of the documentation on readthedocs.

Expected Behavior

A single latest version field.

Installed Versions

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions