added repo link
This commit is contained in:
+3
-1
@@ -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), ""]
|
||||
|
||||
Reference in New Issue
Block a user