From a82db5359733cabd1b8ab99a706e6e1f6dba9331 Mon Sep 17 00:00:00 2001 From: Thaddee Tyl Date: Sun, 31 Jan 2016 18:15:27 +0100 Subject: [PATCH] Describe the recipe for badge URLs --- CONTRIBUTING.md | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index 2bf3dca..6583260 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -23,6 +23,10 @@ gets generated from the `try.html` file. - New query parameters (such as `?label=` or `?style=`) should apply to any requested badge. They must be registered in the cache (see `LruCache` in `server.js`). +- The format of new badges should be of the form + `/VENDOR/SUBVENDOR-BADGE-SPECIFIC/PARAMETERS.format`. For instance, + `https://img.shields.io/gitter/room/nwjs/nw.js.svg`. The vendor is gitter, the + badge is for rooms, the parameter is nwjs/nw.js, and the format is svg. ## Implementations