Respect Gitlinks per Attached Repository
Hello dear community, in e.g. mkdocs-material there is nice feature: https://squidfunk.github.io/mkdocs-material/setup/adding-a-git-repository/#adding-a-git-repository
By simple config in yaml file:
repo_name: Trolololo
repo_url: https://somehost.com/Trololo
edit_uri: "edit/master/docs/"
will enable this:
By clicking you are jumping into the Repositroy to exact file.
When I use monorepo no links will be provided.
Please respect config per attached repository.
Hi! This is a great feature, but is a bit broken with this plugin at the moment. There are issues open for this problem, see #2 and #45.
Seems partly works now. I can see Edit Button, but Links are broken - there is a site_name: Value taken from the merged mkdocs.yml.
I need to apply workaround to html directly what is not really good way of doing this (as per your README example):
find v1/ -name '*.html' -exec sed -i 's/\/versions\/v1//' {} \;
find v2/ -name '*.html' -exec sed -i 's/\/versions\/v2//' {} \;