Skip to content

Commit

Permalink
Fix edit_uri for repos via ssh
Browse files Browse the repository at this point in the history
  • Loading branch information
webwurst authored Aug 19, 2024
1 parent df7b9be commit 331df19
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion mkdocs_multirepo_plugin/structure.py
Original file line number Diff line number Diff line change
Expand Up @@ -345,7 +345,7 @@ def get_edit_url(
]
if self.edit_uri.startswith("http"):
# If edit_uri starts with http we will use this instead of repo url
url_parts.pop()
url_parts.pop(0)
return "/".join(part.strip("/") for part in url_parts)

def set_edit_uri(self, edit_uri) -> None:
Expand Down

0 comments on commit 331df19

Please sign in to comment.