-
Notifications
You must be signed in to change notification settings - Fork 5
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
How do we switch between versions? #116
Comments
@meizabel, we need to decide on this before v1.0 release. We do not want to be blocked by this issue when we want to release v1.1, or even v1.0.1. |
@JuliaEvseeva, @andreySadomovskiy, what's your take on this issue? |
I would stick to the following pattern for each major release:
An idea to have a separate site for documentation with each version as a sub-directory is rather common. We can refer to https://kubernetes.io/ as a good example. |
Here's some info on arranging versioned Jekyll content with stable branches (or tags): https://justwriteclick.com/2017/07/30/investigating-jekyll-for-versioned-content/ |
@oleksandra-kovalenko, we'll need to answer this question in a couple of weeks. We'll need it for being able to release v2. |
@alexander-yevsyukov, @oleksandra-kovalenko, @andreySadomovskiy. After some investigation and searching for examples we suggest having each version in a sub-directory under the The structure will be:
This approach with sub-directories is used in these examples: The advantages of this method:
Other questions.
|
Are there other approaches for doing this? |
Another way to do this is to use branches for versioning. Here is the test repository that shows how it could be. Further, the site will still need to build in one branch (in the example it is a pg-pages), and the folders will be first copied from the branches to the root of the project, and then stored in the |
Gradle and K9s do this via drop down menu in the site header?
Gradle uses a separate site for documentation, having each version in a sub-directory under the site.
K9s switches the whole site, having previous versions under a separate domain name.
The text was updated successfully, but these errors were encountered: