Skip to content
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 version number to the docs #148

Closed
Michael-T-McCann opened this issue Dec 23, 2021 · 6 comments
Closed

Add version number to the docs #148

Michael-T-McCann opened this issue Dec 23, 2021 · 6 comments
Labels
documentation Improvements or additions to documentation
Milestone

Comments

@Michael-T-McCann
Copy link
Contributor

As far as I can tell, our docs https://scico.readthedocs.io/en/latest/index.html give you only the hash of the commit that you are reading, e.g., "© Copyright 2020-2021, SCICO Developers Revision 8e30134. " at the bottom of each page.

It would be nice to report loud and clear which version of SCICO you are looking at docs for. Especially since if you pip install you will have an older version than https://scico.readthedocs.io/ points to by default.

@Michael-T-McCann Michael-T-McCann added this to the Release 0.0.2 milestone Dec 23, 2021
@bwohlberg bwohlberg added the documentation Improvements or additions to documentation label Dec 23, 2021
@bwohlberg
Copy link
Collaborator

The version number is already included in the page title. I guess it wouldn't hurt to include in the footer too, since the title is very easy to overlook.

@Michael-T-McCann
Copy link
Contributor Author

Trying to clarify the issue a bit.

User experience: I find the github for SCICO and install using the linked instructions. I then try to copy/paste code snippets from the docs and they complain about undefined symbols. Or I read the API Reference and it talks about classes that I don't see when I dir(scico). Or I find a cool example and look for the corresponding script in examples/scripts and it doesn't exist.

This is happening because readthedocs defaults to "latest" which I guess is the latest commit in the repo. But the other option in readthedocs is "stable". Which release is that? How does a user know they are reading the correct version of the docs for the SCICO they have installed?

@bwohlberg
Copy link
Collaborator

The "stable" version on readthedocs is the most recent release. I agree it would be nice if the version number were displayed more prominently than just in the page title, but changing that isn't entirely trivial. Perhaps changing the default version on readthedocs from "latest" to "stable" would be a straightforward (I hope) but useful step in addressing the user experience scenario you describe?

@bwohlberg
Copy link
Collaborator

Update: the switch to defaulting to "stable" is straightforward, and is now in effect.

@Michael-T-McCann
Copy link
Contributor Author

Update: the switch to defaulting to "stable" is straightforward, and is now in effect.

Great! This seems like a big improvement and I trust you that going further is hard. I'm okay to close.

@bwohlberg
Copy link
Collaborator

For what it's worth:

We can discuss further if you think it's worth pursuing any of these, but otherwise please just close this issue.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
documentation Improvements or additions to documentation
Projects
None yet
Development

No branches or pull requests

2 participants