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 求差集那个函数有问题,有无佬可以解决
  • ¥15 MATLAB动图问题
  • ¥15 【提问】基于Invest的水源涵养
  • ¥20 微信网友居然可以通过vx号找到我绑的手机号
  • ¥15 寻一个支付宝扫码远程授权登录的软件助手app
  • ¥15 解riccati方程组
  • ¥15 display:none;样式在嵌套结构中的已设置了display样式的元素上不起作用?
  • ¥15 使用rabbitMQ 消息队列作为url源进行多线程爬取时,总有几个url没有处理的问题。
  • ¥15 Ubuntu在安装序列比对软件STAR时出现报错如何解决
  • ¥50 树莓派安卓APK系统签名