bashunit
bashunit copied to clipboard
Add versioning to the webpage
📚 Description
Implements multiple versions to bashunit.
This will help the users to see which specific functionalities are available on the specific version they are using.
I am using the following external library: https://github.com/IMB11/vitepress-versioning-plugin/tree/master Whose documentation is: https://vvp.imb11.dev/
🔖 Changes
Add a new button on top to let the users pick the desired version
Caveats
- [ ] Show the elements in the sidebar (not sure how to do it at the moment)
- [ ] Store the current version in a variable, then, when we click on the logo, we will go to
home/{version}
- right now, when you press the logo, you go to
home
independently the version you were before
- right now, when you press the logo, you go to
- [ ] If you typed some URL (eg:
home/asserts
), redirect to the latest version (eg:home/0.14.0/asserts
) - [ ] Mark the currently selected version as
green
in the dropdown when we are not on the homepage (eg: if we go to/x.xx.xx/asserts
, the version is not selected anymore)