From f62c95570e597c6b2b3ae030186fc4fb2bc45214 Mon Sep 17 00:00:00 2001 From: cato447 Date: Tue, 20 Oct 2026 19:44:35 +0200 Subject: [PATCH] added repo link --- tracker/markdown.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/tracker/markdown.py b/tracker/markdown.py index 748694d..0d1802f 100644 --- a/tracker/markdown.py +++ b/tracker/markdown.py @@ -7,6 +7,8 @@ from datetime import datetime from .challenge import BLOCKED_ICON, STATUS_ICON, STATUS_ORDER from .overview import Overview, icons +REPO_URL = "https://gitea.cato447.de/cato447/challenge_status_tracker" + def md_cell(v: str) -> str: return v.replace("|", "\\|") @@ -23,7 +25,7 @@ def render_hedgedoc(ov: Overview, title: str, tags: str = "") -> str: L += ["---", f"tags: {tags}", "---", ""] L += [f"# {title}", "", f"**Last updated:** {stamp}", "", - f"*generated by `ctf_status.py` from the README.md of every repo in the " + f"*generated by [challenge_status_tracker]({REPO_URL}) from the README.md of every repo in the " f"GitLab challenges group — {len(ov.challenges)} challenges*", "", " · ".join(f"{STATUS_ICON[s]} **{s or 'unknown'}** {total[s]}" for s in stages if total[s] or s), ""]