-
First, thanks so much for the awesome project! I've recently upgraded my documentation from 7.x to 8.2.1 and also implemented versioning. I have a couple of issues/questions as I'm not entirely sure if these are issues, my setup logic or intended. 1. Versioning switching on same page behaviour I have a setup where I want to publish the In It tries to go to the page but cannot find it. Is this intended or should there be some sort of fall back option for page mis-matches between versions? I've found that I had to downgrade to 2. Outdated Banner switching There is the example in the docs of the following banner:
where it is expected that However, this is not always the case as some url's will require more than one step up for this to happen. You can see this behaviour on the demo versioning website here: https://squidfunk.github.io/mkdocs-material-example-versioning/0.2/ If I:
This is because for some reason I'm not sure of, it's taking the full url, i.e. |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 2 replies
-
For both topics, note that the version used to deploy the versioning example is |
Beta Was this translation helpful? Give feedback.
Versioning switching on same page behaviour: the application will check if the current page exists in the old version, and if it does, goes to that very page. If it doesn't, the application should redirect to the top-level page, as we have no means to decide to which page we should go. Thus, if you rename a page between versions, it's a good idea to add a redirect to the old version. If this is not the behavior you're seeing, please create a new issue with a minimum reproduction.
Outdated Banner switching: That's shouldn't happen. It might be outdated. Please create a separate issue with a minimum reproduction.
For both topics, note that the version used to deploy the versioning exa…