Skip to content

Show version snapshots in xbatcher's readthedocs page #135

@weiji14

Description

@weiji14

Is your feature request related to a problem?

Currently at https://xbatcher.readthedocs.io/en/latest/api.html, there are only 'latest' and 'stable' versions of the documentation to switch between. With 'latest' being what's on xbatcher's 'main' branch, and 'stable' being the last release (v0.2.0).

image

Describe the solution you'd like

Each tagged version should have it's own documentation page. E.g. in xarray at https://docs.xarray.dev/en/v2022.12.0, it is possible to show the documentation for different release versions
image

This helps when there are significant API changes (which might be coming up in future xbatcher releases), and people need to refer back to older versions like v0.1.0.

Describe alternatives you've considered

Keep the status quo of just 'latest' and 'stable'.

Additional context

The readthedocs setting is documented at https://docs.readthedocs.io/en/stable/versions.html. If I'm not mistaken, it should involve unchecking the 'Single version' box at https://readthedocs.org/dashboard/xbatcher/advanced?

image

Also, it should be possible to build previous tagged versions (v0.1.0, v0.2.0) at https://readthedocs.org/projects/xbatcher/versions/

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