chore: Update readme generator to handle null version

This commit is contained in:
LisoUseInAIKyrios committed 2026-05-11 21:38:25 +02:00
1 parent 27671a31d1
commit 5617e22f05
1 file changed
+5
@@ -105,9 +105,14 @@ def versions_table(targets):
cells = []
for t in targets:
ver = t["version"]
if ver is None:
continue
label = f"🧪 {ver}" if t.get("isExperimental") else ver
cells.append(label)
if not cells:
return ""
header = "| " + " | ".join(cells) + " |"
sep = "| " + " | ".join(":---:" for _ in cells) + " |"
rows = [header, sep]