mkdocs-material icon indicating copy to clipboard operation
mkdocs-material copied to clipboard

initial idea for canonical version logic

Open kevinh-hcl opened this issue 1 year ago • 1 comments

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.

kevinh-hcl avatar May 31 '24 14:05 kevinh-hcl

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.

squidfunk avatar Jun 06 '24 09:06 squidfunk

Superseded by #7559.

squidfunk avatar Sep 27 '24 07:09 squidfunk