Add version dropdown to allow switching between different doc versions #57
Replies: 3 comments 6 replies
-
I'll definitively add this to the roadmap. Very useful and seems fairly easy to implement. |
Beta Was this translation helpful? Give feedback.
-
@Nadine2016 I spent some time this weekend to add this features. Please check the PR #150 |
Beta Was this translation helpful? Give feedback.
-
@life1347 thank you so much for working on this. I tried out the change. the drop down looks great. however, the linking does not seem to be working correctly for me. I have the following set in the toml file
however, when I select main for example, I am getting redirected to I am also not sure where the about/architecture piece is coming from. it is not part of my hugo toml file. I will go through everything again tomorrow, but maybe you already know what might be causing this. |
Beta Was this translation helpful? Give feedback.
-
Because we write docs for a product that goes through regular release cycles, we need to have a way to display different versions of the docs to the user. We would love to have a way to add a version drop down to the site that allows users to switch between versions.
Docsy uses the params section in the config.toml file to configure the URLs for the different versions. https://www.docsy.dev/docs/adding-content/versioning/.
Beta Was this translation helpful? Give feedback.
All reactions