-
Notifications
You must be signed in to change notification settings - Fork 35
Version our docs #669
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
Comments
If we want to stay on GitHub Pages, there seem to be a few options:
Otherwise it may be time to look into RTD again, cf. https://docs.readthedocs.io/en/stable/versions.html |
We're doing a homegrown docs versioning for tskit and related projects, which just gives (I think) the release and tip of main versions. Code is here. It's not as good as RTD's setup, but it does most of things you want. Note there's some ugly string replacement in the Makefile to get the actual version numbers into the built docs. |
We already have some of this, but it would be good to improve it and make it more standard. In particular, we don't link to the different versions we have available.
|
@tomwhite ah yes I do recall that now! I think there are at least 3 tasks here moving forward:
|
It looks like a version switcher is coming to the PyData Sphinx theme, from which our theme inherits: pydata/pydata-sphinx-theme#23. |
Docs on how to add a version switcher: https://pydata-sphinx-theme.readthedocs.io/en/latest/user_guide/version-dropdown.html |
It will add complexity to our doc build and push but I think we're at the point now where we should support searching different versions of the docs, including the latest version of
main
.The text was updated successfully, but these errors were encountered: