Versioning: staying on the same page seems broken when setting use_directory_urls to false #8288
Unanswered
bernardomaciel-apheris
asked this question in
Q&A
Replies: 0 comments
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.
-
Hey there,
I'm trying to deploy an MkDocs instance to S3, using Material for MkDocs.
As I'm using S3, I followed MkDocs recommendation and set
use_directory_urls
tofalse
.My current problem is that I cannot get it to stay on the same page when switching between versions. 😕
I've tried to get it work on a fork of the https://github.com/mkdocs-material/example-versioning repository, deploying to GH Pages, to no avail.
When switching to a given version from a page other than root, I am redirected to the root page for that version.
I see the following logged on the browser console:
which comes from
I'm using the following versions:
You can find the source at https://github.com/bernardomaciel-apheris/example-versioning and GH Pages deployment at https://bernardomaciel-apheris.github.io/example-versioning/.
Is this supported? Is it a bug? Or am I missing something?
Thanks in advance 🙏
Beta Was this translation helpful? Give feedback.
All reactions