Skip to content
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

Multi version selector drop-down #38

Open
cloud-rocket opened this issue Oct 30, 2019 · 1 comment
Open

Multi version selector drop-down #38

cloud-rocket opened this issue Oct 30, 2019 · 1 comment

Comments

@cloud-rocket
Copy link

Can you please provide some directions on how to enable multi-version drop-down selector instead of version subtitle?

I was going over this suggestion - squidfunk/mkdocs-material#770 (comment), but not exactly sure how to apply it on a windmill.

Thanks!

@dsagal
Copy link
Member

dsagal commented Nov 1, 2019

Unfortunately, I don't know of any easy way to do this. In other words, I don't think it's a question of how to enable it, but rather how to build it.

To build it, I think you could follow the advice in that comment you linked to actually generate all the different versions of html files, and you'd need to override the topbar.html template to include an HTML widget that lists them all in place of the plain version number. It seems a non-trivial project.

If you have it working with another theme, you might run into some windmill-specific weirdness, since it fiddles with links to maintain the iframe-based navigation. If that's the issue, I may be able to help.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants