Skip to content

Commit

Permalink
MKDOCS UPDATE: Add rstrip() to remove trailing slashes
Browse files Browse the repository at this point in the history
Signed-off-by: Remy Bos <[email protected]>
  • Loading branch information
sjokkateer committed May 22, 2022
1 parent 6985124 commit 358cff8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion update_mkdocs_yml.py
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@
]
}

mkdocs["extra"]["repo_name"] = mkdocs["repo_url"].replace("https://github.com/", "")
mkdocs["extra"]["repo_name"] = mkdocs["repo_url"].replace("https://github.com/", "").rstrip("/")
mkdocs["extra"]["base_url"] = "https://docs.laminas.dev/"

if mkdocs["extra"]["project"] == "Components":
Expand Down

0 comments on commit 358cff8

Please sign in to comment.