-
Notifications
You must be signed in to change notification settings - Fork 32
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
version selector not working #53
Comments
Fwiw, I think the version selector is only designed to work from a webserver. I'm not sure if you tried that. Hosting different versions locally didn't work for me last time I tried it. |
There is a bug in the detection of the current version that is fixed by #54. Two things to clarify, though:
|
What @2bndy5 said as far as a web server is also true --- the way the theme currently retrieves the versions.json file is incompatible with |
@jbms You make it sound simple... Only reason I can think of is being able to be sure my commit will work same from the server and |
The versioning in mkdocs-material is intended to be used with the Note that you can easily run a local web server --- e.g. |
Python3 std libs should have a similar command, I think.
I found a plugin in VSCode that puts it into a button. |
Thank you for your efforts on this beautiful theme.
I've met some trouble utilizing the "version selector" function:
the
aliases
won't work(return 404 on static site with nginx)I've also tried the "version_json" approach, which has not effect at all. Tried to put the JSON file on over the place yet won't wokring:
conf.py
conf.py
Can anyone please help me with how to achieve this function?
environment:
The text was updated successfully, but these errors were encountered: