-
Notifications
You must be signed in to change notification settings - Fork 7
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 selection loading the new content #15
Comments
Structor generates the following files structure:
So if you serve the content from
The "loading" is just a click on a simple HTML anchor. |
Thanks for your response and the pointer. |
@ldez 1- Do we need to build each version using the modified version of mkdocs.yml file (i.e. the version which contains path to the menu js file (extra_javascript))? If that is the case how the navigation will get updated? I don't see any change in the navigation of mkdocs.yml file 2- I can build the website for each version without any problems but when I select one of them, it doesn't reload it because it always use the mkdocs.yml file in the root which points to the latest version.I tried to build your site locally to see how it works but it looks like it doesn't work for local testing (i.e. it doesn't show any version selector). |
The branches are a requirement, Structor doesn't follow tags. Structor modifies the To use structor you don't need to adapt your |
I have a question about the code. I am trying to understand when we click on a version how does it load the generated website for that specific version? I looked at the menu package but it looks like it just updates the menu but I don't know how it loads the generated website (How does it update the navigation links) for that specific version . Would you please give me some pointers?
The text was updated successfully, but these errors were encountered: