-
-
Notifications
You must be signed in to change notification settings - Fork 690
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
Docs and Addons should display the release version by default #815
Comments
Hi @cubistico, We have talked several times about the versioned docs and the decision to display the latest docs version was made on purpose in those disussions. I will see, if i can link the corresponding issues/PRs here. BR |
After some research i have found this #520 (comment) which states the latest stable as website/docs root. @ghys can you remember, if we decided to diplay the latest version on purpose? |
Also related #619 |
Quoting @kaikreuzer from #520 also (the comment before that):
This sounds to me as if the default path should always point to the latest release, if I get it right. However, the later comment seems to confirm just the other way round? I'm not convinced yet! :-) |
Yeah i have rad that too, but we have to make a difference here. I agree with kai on the path, but that doesn't mean that we couldn't redirect to version 2.x first while opening the website. |
I ran into this again today and have a couple of times over the past few weeks. A user installs or upgrades to OH 2.3, reads the docs and tries to apply something that wasn't implemented until after the 2.3 release. Users, particularly new users, don't realize they are looking at the docs for the snapshots by default as opposed to the latest release. Since the users of the snapshot should know better but we can't expect the new users to know this I strongly believe the default version should be the latest release, not latest. |
I have changed the title. Hopefully @ghys can change that in the vuepress settings somewhere. |
Any new insights here? |
Yes we had a discussion about that once but I can't seem to find it again ;) I'll keep looking. |
Also #695 (comment) |
We have made several changes to the docs and version selectors. Further information can be found here: https://community.openhab.org/t/important-changes-to-the-documentation-versioning/122369?u=confectrician |
It only took 2.5 years ;) |
Finally! \o/ |
Problem
Versioned docs display Version: latest by default, but the latest version refers to the current development version. Normal users will usually install the latest release, therefore the docs for the latest release should be displayed by default. Failing to do so causes inconsistencies between the installed software and its documentation.
Solution
Docs should be displayed for the latest release by default.
Example
A real-world example which I actually ran into can be found here. In short: I opened an issue because the MAX! binding in a fresh install of the latest release would not work as described in the docs. It took the help of others plus 5 days in time just to find out that both, the docs and the binding, were correct, but I wasn't aware of the fact that the version of the docs displayed by default as Version: latest does not refer to the latest release version, but to the latest development version, and that I had to select Version: 2.3.0 to see the correct documentation. This was a problem because the Item definition had changed from Number to Number:Temperature after the release version of the binding, so when cross-checking the Item type with the docs, I was sure they were correct.
I'm quite convinced that the average user would normally not even notice the dropdown.
The text was updated successfully, but these errors were encountered: