Repository navigation
Add version dropdown to allow switching between different doc versions #57
Nadine2016
started this conversation in
Feature Requests
Replies: 3 comments 6 replies
|
I'll definitively add this to the roadmap. Very useful and seems fairly easy to implement. |
5 replies
|
@Nadine2016 I spent some time this weekend to add this features. Please check the PR #150 |
0 replies
|
@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. |
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment


Uh oh!
There was an error while loading. Please reload this page.
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/.
All reactions