docs: replace remote url by local file links to allow for checking

This commit is contained in:
Johannes Kirschbauer
2025-05-20 18:35:06 +02:00
parent d3fc1725f0
commit b7c6e8917b

View File

@@ -37,4 +37,7 @@ def docs_hyperlink(description: str, url: str) -> str:
"""
Returns a markdown hyperlink
"""
url = url.replace("https://docs.clan.lol", "../..")
url = url.replace("index.html", "index")
url += ".md"
return f"[{description}]({url})"