Skip to content

Commit

Permalink
Update doc.yaml
Browse files Browse the repository at this point in the history
  • Loading branch information
AAriam committed Nov 25, 2024
1 parent d28fde6 commit f04648f
Showing 1 changed file with 16 additions and 16 deletions.
32 changes: 16 additions & 16 deletions template/.control/doc.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -1328,14 +1328,14 @@ __custom__:
zenodo = curr_changelog.get("zenodo", {})
if zenodo:
badge = {
"label": "DOI",
"args": {"message": zenodo["doi"]},
"logo": "zenodo",
"logo_color": "#1682D4",
"color": "#1682D4",
"link": f"https://zenodo.org/{"uploads" if zenodo.get("draft") else "records"}/{zenodo["id"]}"
}
out.append(badge)
"label": "DOI",
"args": {"message": zenodo["doi"]},
"logo": "zenodo",
"logo_color": "#1682D4",
"color": "#1682D4",
"link": f"https://zenodo.org/{"uploads" if zenodo.get("draft") else "records"}/{zenodo["id"]}"
}
out.append(badge)
version = curr_changelog.version
if get("pkg.pypi.publishable") and get("workflow.publish.pypi"):
pypi = {
Expand Down Expand Up @@ -1602,14 +1602,14 @@ __custom__:
zenodo = dev_release.get("zenodo_sandbox")
if zenodo:
badge = {
"label": "DOI",
"args": {"message": zenodo["doi"]},
"logo": "zenodo",
"logo_color": "#1682D4",
"color": "#1682D4",
"link": f"https://sandbox.zenodo.org/{"uploads" if zenodo.get("draft") else "records"}/{zenodo["id"]}"
}
badge_items.append(badge)
"label": "DOI",
"args": {"message": zenodo["doi"]},
"logo": "zenodo",
"logo_color": "#1682D4",
"color": "#1682D4",
"link": f"https://sandbox.zenodo.org/{"uploads" if zenodo.get("draft") else "records"}/{zenodo["id"]}"
}
badge_items.append(badge)
tag = f"{get("tag.version.prefix")}{dev_release["version"]}"
github = {
"label": "git checkout",
Expand Down

0 comments on commit f04648f

Please sign in to comment.