badges / shields

Concise, consistent, and legible badges in SVG and raster format
https://shields.io
Creative Commons Zero v1.0 Universal
23.92k stars 5.51k forks source link

Expose links in badge-maker #4949

Open chris48s opened 4 years ago

chris48s commented 4 years ago

:clipboard: Description

Fundamentally we need to add the ability to pass a couple of strings into makeBadge(), but we need to decide on the interface for that. One of the useful things we've done in v3 is bringing the terminology used in shields.io URL params, the endpoint badge and the NPM package into line. This is a good thing but the current interface for links in URL params is a bit weird. Now is probably a good time to re-think it. There is some discussion of this in:

https://github.com/badges/shields/issues/4849#issuecomment-609108141

Of the v3.1 issues, this one is currently the least clearly-defined.

chris48s commented 3 months ago

This got done in https://github.com/badges/shields/pull/10283 by just exposing the current interface on to it with no changes. Improving it is still valid though.