-
Notifications
You must be signed in to change notification settings - Fork 20
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
Proposal for multi version documentation #42
Comments
I like the idea but I think it might be hard sometimes to find sensible common content for the base. We'd have to try, I guess. Depending on the difference in size between base and the specific version, it might be simpler (or better for reading) to use "fold outs". Something like this:
That's not necessarily beautiful but if the version specific contend is only a couple of lines long it might be worth it. One thing I'd love (but probably can't have) would a version selector that sets the value of version variable (while not necessarily impossible, it doesn't seem to be easy to do with Hugo, e.g., setting / reading URL query params). That way, the entire documentation would be specific to the selected version instead of having different pages for different versions. |
I would suggest keeping things simple: have a v3 documentation and a v4 documentation, separate. v4 stuff can be updated as we go; v3 stuff can be frozen and preserved for future reference. Maybe the landing page can be the common bit, and then it branches off from there. There's currently no version specific information on the landing page, so it can be common across versions. Tabs are a nice idea, but in practice we'd end up with tabs everywhere and I don't think it would be easy to navigate or keep updated. |
I do not like the redundancy of maintaining separate branches of the same documentation. But at least it is always clear what to do. Anything else would be several factors more complex from my perspective. But I am not married to any solution, as long as we are able to satisfy CRS3 and CRS4 users in parallel for several years. |
@dune73 @theseion @RedXanadu I think we are getting to this one quickly... for now we are going to just use one branch ( |
Makes sense. |
Agreed |
I see CRS3 documentation as becoming more and more stale and CRS4 documentation being actively maintained. |
Some parts of our documentation will face the problem that they need to describe different major versions, with non-compatible changes.
After reviewing a bit our options, we can:
include
shortcode from the themeAn example layout for this is:
Another option is to use tabbed content with a specific version. This has the advantage that you always have the content in one file.
Let me know what you think.
The text was updated successfully, but these errors were encountered: