You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
- name: Comment on the PR about the result - Failure
77
-
if: failure() || cancelled()
84
+
if: failure() || env.PEEK_STATUS == 'failure'
78
85
uses: jungwinter/comment@v1 # let us comment on a specific PR
79
86
env:
80
87
MESSAGE: |
@@ -88,7 +95,7 @@ jobs:
88
95
- Your icon information has been added to the `devicon.json` as seen [here](https://github.com/devicons/devicon/blob/master/CONTRIBUTING.md#updateDevicon)
89
96
- Your PR title follows the format seen [here](https://github.com/devicons/devicon/blob/master/CONTRIBUTING.md#overview)
90
97
91
-
Once everything is fixed, I will try. If I still fail (sorry!), the maintainers will investigate further.
98
+
I will retry once everything is fixed. If I still fail (sorry!) or there are other erros, the maintainers will investigate.
we noticed that this PR has been inactive for a while now. If there are any changes which are suitable for our repository,
15
+
we would love to have it. It would be great if you can continue with this PR, but if you cannot, we might fork your changes and merge the changes ourselves.
16
+
17
+
Since GitHub tracks contributions by commits, you will still be credited.
Copy file name to clipboardExpand all lines: CONTRIBUTING.md
+23-8Lines changed: 23 additions & 8 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,6 +1,6 @@
1
1
<h1>Contributing to Devicon</h1>
2
2
<p>
3
-
First of all, thanks for taking the time to contribute! This project can only grow and live by your countless contributions. To keep this project maintable we developed some guidelines for contributions.
3
+
First of all, thanks for taking the time to contribute! This project can only grow and live by your countless contributions. To keep this project maintainable, we have developed some guidelines for our contributors.
4
4
</p>
5
5
6
6
<h2>Table of Content</h2>
@@ -15,21 +15,23 @@ First of all, thanks for taking the time to contribute! This project can only gr
15
15
<li><ahref="#requestingIcon">Requesting An Icon</a></li>
<li><ahref="#release">Release strategy, conventions, preparation and execution</a></li>
19
20
</ul>
20
21
21
22
<hr>
22
23
<h2id="terms">Terms</h2>
23
24
<p>Here are some terms that we will use in this repo: </p>
24
25
<ol>
25
-
<li>"Icon" refers to the set of svgs/icons of a technology/tool. Ex: We might refer to the React svgs and React icons as the React Icon</li>
26
-
<li>"SVG/<code>.svg</code>" refers to the <code>svg</code> versions of the Icons.</li>
27
-
<li>"icons" (lowercase) refers to the font icon versions of the Icons.</li>
26
+
<li>"Technology" is used to describe a software, libraries, tool, etc...</li>
27
+
<li>"Icon" refers to the svgs and icons version of a technology as a whole.</i>
28
+
<li>"SVG/<code>svg</code>" refers to the <code>svg</code> versions of the Icons.</li>
29
+
<li>"icon" (lowercase) refers specficially to the font icon versions of the Icons.</li>
28
30
</ol>
29
31
30
32
<hr>
31
33
<h2id="overview">Overview on Submitting Icons</h2>
32
-
<p>Here is an overview of what you have to do to submit your icons to the repo.</p>
34
+
<p>Here is what you have to do to submit your icons to the repo.</p>
33
35
<ol>
34
36
<li>Create the svgs for each <ahref="#versionNaming"> svg versions </a> that you have</li>
35
37
<li>Put the svgs of each Icon into its own folders in <code>/icons</code> </li>
@@ -44,6 +46,13 @@ First of all, thanks for taking the time to contribute! This project can only gr
44
46
45
47
<hr>
46
48
<h2id='versionNaming'>Versions and Naming Conventions</h2>
49
+
<p>For the technology name, make the file and folder name lowercase and concatenate them. For example:</p>
50
+
<ul>
51
+
<li>AngularJS becomes <code>angularjs</code> or just <code>angular</code></li>
52
+
<li>Amazon Web Services becomes <code>amazonwebservices</code></li>
53
+
<li>Microsoft SQL Server becomes <code>microsoftsqlserver</code></li>
54
+
</ul>
55
+
47
56
<p>Each icon/svg can come in different versions. So far, we have:</p>
48
57
<ul>
49
58
<li><b>original</b>: the original logo. Can contain multiple colors. <ahref="https://github.com/devicons/devicon/blob/master/icons/amazonwebservices/amazonwebservices-original.svg"> Example </a> </li>
@@ -66,7 +75,6 @@ First of all, thanks for taking the time to contribute! This project can only gr
66
75
</li>
67
76
<li>
68
77
Some icons are really simple (ex. Apple), so the original version can be used as the plain version and as the icon font. In this case, you'll only need to make one of the version (either "original" or "plain"). You can then add an alias in the <code>devicon.json</code> so they can be found with either the "original" or "plain" naming convention. Note: this only applies to font icon versions only, not the SVG versions.
69
-
70
78
</li>
71
79
</ul>
72
80
@@ -75,15 +83,15 @@ First of all, thanks for taking the time to contribute! This project can only gr
75
83
<p>Before you submit your logos/svgs, please ensure that they meet the following standard:</p>
76
84
<ul>
77
85
<li>The background must be transparent.</li>
78
-
<li>The svg name follows this convention: <code>(Icon name)-(original|plain|line)(-wordmark?).</code></li>
86
+
<li>The svg name follows this convention: <code>(Technology name)-(original|plain|line)(-wordmark?).</code></li>
79
87
<li>The <b>plain</b> and <b>line</b> versions (with or without wordmark) need to stay as simple as possible. They must have only one color and the paths are united. We will strip the color when turning it into icons so they can have any color.
80
88
</li>
81
89
<li>Optimize/compress your SVGs. You can use a service like <ahref="https://compressor.io/">compressor</a> or <ahref="https://petercollingridge.appspot.com/svg-editor">SVG Editor</a>.</li>
82
90
<li>The icon's strokes and texts must be fills. This is to satisfy our conversion website's <ahref="https://icomoon.io/#docs/stroke-to-fill">requirements.</a></li>
83
91
<li>Each <code>.svg</code> file contains one version of an icon in a <code>0 0 128 128</code> viewbox. You can use a service like <ahref="https://www.iloveimg.com/resize-image/resize-svg">resize-image</a> for scaling the svg.</li>
84
92
<li>The <code>svg</code> element does not need the <code>height</code> and <code>width</code> attributes. However, if you do use it, ensure their values are either <code>"128"</code> or <code>"128px"</code>. Ex: <code>height="128"</code></li>
85
93
<li>Each <code>.svg</code> must use the <code>fill</code> attribute instead of using <code>classes</code> for colors. See <ahref="https://github.com/devicons/devicon/issues/407">here</a> for more details.</li>
86
-
<li>The naming convention for the svg file is the following: <code>(Icon name)-(original|plain|line)(-wordmark?).</code></li>
94
+
<li>The naming convention for the svg file is the following: <code>(Technology name)-(original|plain|line)(-wordmark?).</code></li>
87
95
</ul>
88
96
89
97
<hr>
@@ -301,6 +309,12 @@ As an example, let's assume you have created the svgs for Redhat and Amazon Web
301
309
<li>Publishing a new release to <ahref="https://www.npmjs.com/package/devicon">npm</a>; See <ahref="https://github.com/devicons/devicon/issues/288">#288</a></li>
302
310
</ul>
303
311
312
+
<h2id="discordServer">Discord server</h2>
313
+
<p>
314
+
We are running a Discord server. You can go here to talk, discuss, and more with the maintainers and other people, too. Here's the invitation: https://discord.gg/hScy8KWACQ. If you don't have a GitHub account but want to suggest ideas or new icons, you can do that here in our Discord channel.
315
+
<b>Note that the Discord server is unofficial, and Devicons is still being maintained via GitHub.<b>
316
+
</p>
317
+
304
318
<h2id='release'>Release strategy, conventions, preparation and execution</h2>
305
319
<h5>Release strategy</h5>
306
320
<p>Devicon does not follow a strict release plan. A new release is depended on current amount of contributions, required bugfixes/patches and will be discussed by the team of maintainers.</p>
@@ -312,6 +326,7 @@ As an example, let's assume you have created the svgs for Redhat and Amazon Web
312
326
<li>MINOR version when you add functionality <b>(like a new icon)</b> in a backwards compatible manner, and</li>
313
327
<li>PATCH version when you make backwards compatible bug fixes.</li>
314
328
</ul>
329
+
315
330
<h5>Release preparation and execution</h5>
316
331
<ol>
317
332
<li>Define the next release version number based on the conventions</li>
@@ -155,6 +156,17 @@ Add css rules in your stylesheet
155
156
to see how you can contribute to this project.
156
157
</p>
157
158
159
+
<h2id="stale-prs">Stale pull requests</h2>
160
+
<p>
161
+
After a pull request has been open for over 30 days with no activity or response from the author, it'll be automatically marked as stale. We might fork your changes and merge the changes ourselves. Since GitHub tracks contributions by commits, you will be credited.
162
+
</p>
163
+
164
+
<h2id="discord-server">Discord server</h2>
165
+
<p>
166
+
We are running a Discord server. You can go here to talk, discuss, and more with the maintainers and other people, too. Here's the invitation: https://discord.gg/hScy8KWACQ.
167
+
<b>Note that the Discord server is unofficial, and Devicons is still being maintained via GitHub.<b>
168
+
</p>
169
+
158
170
<h2id="build-yourself">Go build yourself</h2>
159
171
<p>
160
172
Feel free to follow those steps when you want to build the font
0 commit comments