mkdocs-monorepo-plugin icon indicating copy to clipboard operation
mkdocs-monorepo-plugin copied to clipboard

support edit_uri_template by using at least mkdocs >=1.4.0

Open pjungermann opened this issue 2 years ago • 2 comments
trafficstars

Release https://github.com/mkdocs/mkdocs/releases/tag/1.4.0 introduces a new feature edit_uri_template which is a more flexible version of edit_uri.

I've prepared changes to utilize this at https://github.com/backstage/backstage.

Note: mkdocs v1.4.2 supports Python 3.11 https://github.com/mkdocs/mkdocs/releases/tag/1.4.2

Related: https://github.com/backstage/mkdocs-techdocs-core/issues/107

pjungermann avatar Mar 04 '23 01:03 pjungermann

related to https://github.com/backstage/backstage/pull/16699

pjungermann avatar Mar 05 '23 21:03 pjungermann

since mkdocs-techdocs-core v1.3, it requires

mkdocs>=1.5

This resolves this requirement for a more recent mkdocs version.

However, this packahe itself does not yet require mkdocs >= 1.4.0, and it contains uses of edit_uri e.g. at mkdocs_monorepo_plugin/edit_uri.py.

In order to support edit_uri_template instead, we would require adjustments at this package still.

pjungermann avatar Jan 09 '24 16:01 pjungermann