initial idea for canonical version logic
Initial quick draft of an idea regarding https://github.com/squidfunk/mkdocs-material/issues/7226. This is a first draft, so feel free to give any feedback on improvements or misuse of any of the mechanisms of mkdocs or the theme.
Thanks for the PR. Could I ask you to simplify the control flow and scope the code added to a check for canonical_version? I'm not sure if this breaks anything, because versioning with mike is so hard to test, so I'd rather opt for an approach where we change behavior based on the presence of this flag without mixing with other code. It's currently too hard to follow with checkPath etc.
Superseded by #7559.