-
Notifications
You must be signed in to change notification settings - Fork 9
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Provide docs for multiple versions #713
Comments
This discussion is relevant: pydata/pydata-sphinx-theme#1013 |
Documentation of switcher. |
Looking for suggestions how to implement the cache of previous documentation versions (with efficiency so that old docs are not rebuilt repeatedly). And yet the cache of older documentation does not grow indefinitely. |
Also, consider adding a loud banner when looking at any unreleased docs, such as bokeh. |
Numpy is a package that manages its documentation sets outside of RTD. It provides old versions on a separate page rather than a dropdown. Circle CI manages the cache of old documentation versions. |
One idea: upload release artifacts |
First part of the numpy switcher file: [
{
"name": "dev",
"version": "devdocs",
"url": "https://numpy.org/devdocs/"
},
{
"name": "1.24 (stable)",
"version": "doc/1.24",
"url": "https://numpy.org/doc/stable/"
},
{
"name": "1.23",
"version": "doc/1.23",
"url": "https://numpy.org/doc/1.23/"
},
{
"name": "1.22",
"version": "1.22",
"url": "https://numpy.org/doc/1.22/"
}
] |
such as |
PyData provides a dropdown version selector in the header of each page using a JSON catalog of versions available: switcher.json. A search of the source repository provides indications how the feature is supported.
Originally posted by @prjemian in #712 (comment)
The text was updated successfully, but these errors were encountered: