Open shanthisagar-dhanya-kumar-db-zz opened 1 year ago
I am getting a similar issue using !import git@..
. The resulting links look like http://localhost:8000/kube-prod/docs/git@..
for the imported repository. For the main repo links are fine and I guess if mkdocs-multirepo-plugin
just could use repo_url
, edit_uri
, edit_uri_template
, etc. from the imported repo thinks should just work.
site_name: 'multirepo-test' site_description: 'multirepo-test'
repo_url: https://stash.xxx.com:8082/projects/a/repos/b/browse edit_uri: docs
plugins:
nav:
Now the edit uri of any md files under the projects c or projects d, will contain https://stash.xxx.com:8082/scm/a/c or https://stash.xxx.com:8082/scm/a/d as prefix, which are basically the git clone scm url's. And when user clicks on the edit url's it won't take them to the right md file instead to the root of the repo. Instead what it should is to use the repo_url and edit_uri present in the mkdocs.yaml of project c and d which would be the "browse" url, something like "https://stash.xxx.com:8082/projects/a/repos/c" or "https://stash.xxx.com:8082/projects/a/repos/d"