dongqie5529 2015-01-24 03:31
浏览 132

如何制作动态github徽章,即自述文件中更改状态的图像?

How do you add a "badge" in GitHub README so that it is dynamic? By "badge", I mean enter image description here

The question is even if one puts a URL in GitHub README which maps to a server returning an svg/png, how does it update automatically on GitHub README page?

As an example if you visit the link , you'd see the updated status of the issue (which is closed), but my GitHub README page still shows outdated badge, that is, shows the issue being open.

What is an example server code (say in golang) which can render github badges dynamically?

  • 写回答

1条回答 默认 最新

  • dspv70887 2015-01-24 03:33
    关注

    It's just an image at a URL. It's up to the server (your example looks like Jenkins) to decide what image to provide.

    评论

报告相同问题?

悬赏问题

  • ¥15 如何用Labview在myRIO上做LCD显示?(语言-开发语言)
  • ¥15 Vue3地图和异步函数使用
  • ¥15 C++ yoloV5改写遇到的问题
  • ¥20 win11修改中文用户名路径
  • ¥15 win2012磁盘空间不足,c盘正常,d盘无法写入
  • ¥15 用土力学知识进行土坡稳定性分析与挡土墙设计
  • ¥70 PlayWright在Java上连接CDP关联本地Chrome启动失败,貌似是Windows端口转发问题
  • ¥15 帮我写一个c++工程
  • ¥30 Eclipse官网打不开,官网首页进不去,显示无法访问此页面,求解决方法
  • ¥15 关于smbclient 库的使用