8000 Fix version warning banner on the stable documentation page · Issue #29075 · scikit-learn/scikit-learn · GitHub
[go: up one dir, main page]

Skip to content
Fix version warning banner on the stable documentation page #29075
Closed
@betatim

Description

@betatim

Describe the issue linked to the documentation

Currently https://scikit-learn.org/stable/index.html shows the version warning banner ("This are the docs for an unstable version").
Screenshot 2024-05-22 at 09 08 02

I think this is happening because we haven't updated https://scikit-learn.org/dev/_static/versions.json which lists all the available versions and declares which is the stable version.

This file is generated by build_tools/circle/list_versions.py which should run as part of the CI on main. My guess as to why the file hasn't been updated is that we have not merged a PR since releasing v1.5.0. If I run the script locally it generates the correct content for the .json file.

Suggest a potential alternative/fix

I think the fix is to merge any PR into main as this will regenerate the versions.json file.

This is because all versions of the documentation read the versions from the same URL, which is based on /dev/.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      0