backstage/mkdocs-monorepo-plugin

support edit_uri_template by using at least mkdocs >=1.4.0

pjungermann opened this issue · 2 comments

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: backstage/mkdocs-techdocs-core#107

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.