Is mkdocs-redirects supposed to work with the projects plugin? #7292
-
We are planning to move from a single-project documentation to a more complex, multi-project approach using the (insiders) projects plugin. Now redirecting (from the old structure to the new one) using the redirects plugin does not work -- neither within a (sub) project nor beyond projects.
Thanks a lot. |
Beta Was this translation helpful? Give feedback.
Replies: 3 comments 4 replies
-
Could you provide a minimal reproduction that isolates and showcases the problem you're facing, so we know what you're trying to do? If we have something we can run, we can decide whether it's a bug or feature request. |
Beta Was this translation helpful? Give feedback.
-
If you want to point redirects to files outside the docs directory it will not do it as it creates an internal list of valid files within to redirect to. However, using redirects via external links should work, just provide the proper https:// link. |
Beta Was this translation helpful? Give feedback.
-
Thanks for your answers. I have created a minimum reporduction for you to reproduce the behavior. Playing around with that and in accordance with Kamil's reply, I found using external links does the trick -- so there is no immediate need to tackle this. So, here is the feature request: It would be nice if the redirect map eventualy worked with a path(-like) pattern, the same way as the navigation section does (which shows an error on build, but the links finally work ...) 9.5.27+insiders.4.53.11-redirects-with-projects-plugin.zip Thanks a lot. |
Beta Was this translation helpful? Give feedback.
If you want to point redirects to files outside the docs directory it will not do it as it creates an internal list of valid files within to redirect to.
However, using redirects via external links should work, just provide the proper https:// link.