Skip to content

Commit 86b1e6b

Browse files
author
Sreeparna Deb
committed
testing without repo name and default branch hardcoding + md content updates + full readme content
1 parent 42bab21 commit 86b1e6b

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

scripts/update_plugininfo.py

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -91,7 +91,14 @@ def write_markdown(info, authors, readme_text=""):
9191
body_parts = []
9292
if readme_text:
9393
body_parts.append(readme_text)
94+
deps = info.get("dependencies", [])
95+
if deps:
96+
deps_text = "\n\n---\n**Dependencies:** " + ", ".join(deps)
97+
body_parts.append(deps_text)
98+
99+
# Repository link footer
94100
body_parts.append(f"\n---\n**Source repository:** https://github.com/{OWNER}/{REPO}\n")
101+
95102
body = "\n".join(body_parts).lstrip("\n")
96103

97104
with open(OUTPUT_PATH, "w", encoding="utf-8") as f:

0 commit comments

Comments
 (0)