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
Add stable version of docs? #1865
Comments
I would not offer a The main reason is that the content represented by those We are providing versioned I would prefer instead to have a |
We did have "latest" when we were on RTD. I changed to "dev" because I thought "latest" is confusing, it's unclear if it's "latest development version" or "latest stable version", so I found "dev" to be clearer. OK to stick with "dev"? I agree with the argument that "stable" isn't great because it won't be stable, so OK not to add it. How about we add a custom 404 page to help users a bit if they land on a page that doesn't exist? |
👍
👍 |
404 page for gammapy.org: gammapy/gammapy-webpage@94aaaab |
404 page for docs.gammapy.org: gammapy/gammapy-docs@cbeeb9c |
To review the current 404 pages, you can follow these links: At first I started to explain the docs version scheme in more detail and also mention the dev docs. But in the end, I think most users don't care and prefer just a short message. @Bultako - Please review. |
Good ! 👍 Some comments for http://docs.gammapy.org/spam
|
@Bultako - Done in gammapy/gammapy-docs@73a626d . |
Currently we only have http://docs.gammapy.org/stable/ which forwards to the latest stable version, but other pages like e.g. http://docs.gammapy.org/stable/maps/index.html don't exist.
I think most software docs offer URLs for "stable", e.g. on RTD this is the default behaviour that you get, to give an example: http://docs.astropy.org/en/stable/time/index.html
But not all projects do this, e.g. with Flask you get a 404 just like currently with Gammapy:
http://flask.pocoo.org/docs/stable/quickstart/
I'm +1 to offer all the pages under "stable", but not strongly. I think often it is useful to share a link like http://docs.gammapy.org/stable/maps instead of e.g. http://docs.gammapy.org/0.7/maps , but obviously this practice also has the drawback that some links will break especially Gammapy pre-1.0 as we refactor code and docs.
@Bultako or anyone interested - Thoughts
Technically putting the docs under "stable" isn't hard; we just have to commit a copy of the files under https://github.com/gammapy/gammapy-docs/tree/master/docs/stable/ and update it as new versions are released - a step on a release check-list or even automated somehow.
The text was updated successfully, but these errors were encountered: