-
-
Notifications
You must be signed in to change notification settings - Fork 10
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
A shields.io API #12
Comments
Meaning use shields for all the badges? I think we would need to, to support the styles. Seems like this would make things a lot simpler too. Maybe we change the built-in badge helper to render shields badges, so we wouldn't need to use any actual templates. I only avoided that in the past b/c the badges used completely different syntaxes and the logic was getting complicated. thoughts? |
Perhaps a separation between the badge identity and the renderer? A badge identity would be 'travis', 'standard', etc. A badge rendered would be 'shields', 'style1', 'style2', etc. I'm not sure whether the default renderer should be one of the original styles or 'shields'. |
As a start, I would like to have a generic way to consume a http://shields.io/ badge, implementing all their API, which is: They also provide a It would be nice to be able to set a default style. |
Actually, their API is two main things. One is all the built in badges, like And the other is the custom badge. And the Docs say that a |
+1 |
Shields.io provides several styles (see "Styles" section).
Can we support that across the badges?
The text was updated successfully, but these errors were encountered: