@@ -24,10 +24,20 @@ maybe you'd like to open a pull request to address one of them:
24
24
25
25
You can help by improving the project's usage and developer instructions.
26
26
27
+ Tutorials are in [ /doc] ( https://github.com/badges/shields/tree/master/doc ) :
28
+
27
29
- When you read the documentation, you can fix mistakes and add your own thoughts.
28
30
- When your pull request follows the documentation but the practice changed,
29
31
consider pointing this out and change the documentation for the next person.
30
32
33
+ API documentation is at [ contributing.shields.io] ( https://contributing.shields.io/ ) :
34
+
35
+ - This documentation is generated by annotating the code with
36
+ [ JSDoc] ( https://jsdoc.app/about-getting-started.html ) comments.
37
+ [ Example] ( https://github.com/badges/shields/blob/b3be4d94d5ef570b8daccfd088c343a958988843/core/base-service/base-json.js#L26-L41 )
38
+ - Adding a JSDoc comment to some existing code is a great first contribution
39
+ and a good way to familiarize yourself with the codebase
40
+
31
41
### Helping others
32
42
33
43
You can help with code review, which reduces bugs, and over time has a
@@ -95,12 +105,11 @@ There are three places to get help:
95
105
## Badge URLs
96
106
97
107
- The format of new badges should be of the form
98
- ` /SERVICE/NOUN/PARAMETERS/QUALIFIERS.format ` . For instance,
99
- ` /gitter/room/nwjs/nw.js.svg ` . The vendor is gitter, the
100
- badge is for rooms, the parameter is nwjs/nw.js, and the format is svg.
101
- - For services which require a hostname, the badge should be of the form
102
- ` /SERVICE/SCHEME/HOST/NOUN/PARAMETERS/QUALIFIERS.format ` . For instance,
103
- ` /discourse/https/discourse.example.com/topics.svg ` .
108
+ ` /SERVICE/NOUN/PARAMETERS/QUALIFIERS ` . For instance,
109
+ ` /gitter/room/nwjs/nw.js ` . The vendor is gitter, the
110
+ badge is for rooms, and the parameter is nwjs/nw.js.
111
+ - Services which require a url/hostname parameter should use a query parameter to accept that value. For instance,
112
+ ` /discourse/topics?server=https://meta.discourse.org ` .
104
113
105
114
## Coding guidelines
106
115
0 commit comments