We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 639bc07 commit 8db155dCopy full SHA for 8db155d
1 file changed
.ci/scripts/docgen.py
@@ -43,7 +43,7 @@ def generate_markdown_table(policies: List[PolicyMetadata]) -> str:
43
description = p.description.replace("\n", " ").strip()
44
ghcr_path = f"ghcr.io/{os.path.normpath(os.path.dirname(p.path))}"
45
readme_url = replace_filename_in_url(f"https://github.com/ContainerCraft/updatecli-policies/tree/main/{p.path}", "README.md")
46
- rows.append(f"| `{ghcr_path}:{p.version}` | {description or '-'} | {f"[link]({readme_url})" } |")
+ rows.append(f"| `{ghcr_path}:{p.version}` | {description or '-'} | [link]({readme_url}) |")
47
return header + separator + "\n".join(rows)
48
49
def replace_filename_in_url(url: str, new_filename: str) -> str:
0 commit comments