-
Hi, I'm in the process of migrating a project documentation to MkDocs Material and use Mike. I've read both projects documentation but it's not clear to me how to switch but keep a version alias for the previous website that we had (plain Jekyll). Going forward I'd like to have Mike manage versions, but I'd like to setup Mike so that I can have a version for the previous Jekyll-rendered content which currently lives in the Thanks for any pointer you may have 🙏 |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 3 replies
-
Excellent question and definitely a sound use case. Material for MkDocs only consumes what As a quick idea, you could theoretically post-process the |
Beta Was this translation helpful? Give feedback.
Excellent question and definitely a sound use case. Material for MkDocs only consumes what
mike
generates, i.e. theversions.json
. Theoretically, this file could include versions or links to other websites, so the user would be taken to that site when the respective version is selected. However, I'm not sure whethermike
supports this, so maybe ask on their issue tracker.As a quick idea, you could theoretically post-process the
versions.json
, add the links manually and then just add a redirect for that version to an external site. This could all be done with some scripting and post-processing, but as said, I find that to be a sound use case so definitely something that could be discussed…