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 53dcc4e332
commit 1c2ee49047

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})"