You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
mike deploy --update-aliases 0.1 latest
mike set-default latest
mike serve
The redirects seem to work with pages but not images, e.g.
Visiting http://localhost:8000/latest/bar/ redirects to http://localhost:8000/0.1/bar/. However, visiting http://localhost:8000/0.1/assets/images/favicon.png works but http://localhost:8000/latest/assets/images/favicon.png gives 404:
The text was updated successfully, but these errors were encountered:
That would probably work on the latest dev build if you use symlinks for aliases (which will become the default in 2.0), but for redirect-style aliases (the default in 1.x), this is unsupported.
However, it's not clear to me what version of mike you're using. In the future, please fill out all of the entries you can in the bug reporting template.
Summary
If I clone this repo https://github.com/squidfunk/mkdocs-material-example-versioning and deploy:
The redirects seem to work with pages but not images, e.g.
Visiting
http://localhost:8000/latest/bar/
redirects tohttp://localhost:8000/0.1/bar/
. However, visitinghttp://localhost:8000/0.1/assets/images/favicon.png
works buthttp://localhost:8000/latest/assets/images/favicon.png
gives 404:The text was updated successfully, but these errors were encountered: