bashunit icon indicating copy to clipboard operation
bashunit copied to clipboard

Add versioning to the webpage

Open JesusValera opened this issue 7 months ago • 0 comments

📚 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

image

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
  • [ ] 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) image

JesusValera avatar Jul 15 '24 18:07 JesusValera