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
<li><ahref="#release">Release strategy, conventions, preparation and execution</a></li>
21
22
</ul>
@@ -70,12 +71,14 @@ First of all, thanks for taking the time to contribute! This project can only gr
70
71
<li>Put the SVGs of each Icon into its own <ahref="#orgGuidelines">folders</a> in <code>/icons</code></li>
71
72
<li><ahref="#updateDevicon">Update the <code>devicon.json</code> to include the new Icon</a> </li>
72
73
<li>Create a separated pull request (PR) towards the <code>develop</code> branch for each Icon.</li>
74
+
<li>Fill out the info as stated in the PR template.</li>
73
75
<li>Include the name of the Icon in the pull request title in this format: <code>new icon: <i>Icon name</i> (<i>versions</i>)</code> </li>
74
-
<li><i>Optional</i>: Reference the issues regarding the new icon. </li>
76
+
<li><i>Optional</i>: Reference the issues regarding the new icon and label the PR `feature:icon`. </li>
75
77
<li>Some bots will check your SVGs. If there are any errors, please fix them as instructed.</li>
76
78
<li>Wait for a maintainer to review your changes. They will run the <ahref='#peekBot'><code>peek-bot</code></a> to check your icons.</li>
77
79
<li>If there are no issues, they will merge it using <ahref="https://github.com/devicons/devicon/discussions/470"><b>squash merging</b></a>. If there are any problems, they will let you know, and give you a chance to fix them.</li>
78
80
</ol>
81
+
<p><b>Note:</b> Due to our recent bot upgrades, icon contributors don't have to optimize/minify their SVGs anymore!</p>
79
82
80
83
<hr>
81
84
<h2id='versionNaming'>Versions and Naming Conventions</h2>
@@ -326,6 +329,26 @@ As an example, let's assume you have created the SVGs for Redhat and Amazon Web
326
329
<li>For the rest of the steps, you can follow <ahref="#overview">Overview on Submitting Icon</a></li>
327
330
</ol>
328
331
332
+
<hr>
333
+
<h2id='updatingIcons'>Updating an Icon</h2>
334
+
<p>
335
+
Sometimes, a company will update their logo or someone spotted an error in the SVG/icon that needs to be fixed. This means the current icon in our repository might need an update. The steps to do this is simple:
336
+
</p>
337
+
<ol>
338
+
<li>
339
+
Create a new commit to fix the SVGs.
340
+
</li>
341
+
<li>
342
+
Open a pull request based on the `develop` branch.
343
+
</li>
344
+
<li>
345
+
<strong>IMPORTANT</strong>: name the pull request <code>update icon: <i>icon-name</i> (<i>versions</i>)</code>. Basically, follow the <a href="#overview">Overview on Submitting Icon</a> but replace the <code>new</code> with <code>update</code> in name of request with the above.
346
+
</li>
347
+
<li>
348
+
Follow the rest of the steps as laid out in <a href="#overview">Overview on Submitting Icon</a>.
349
+
</li>
350
+
</ol>
351
+
329
352
<hr>
330
353
<h2id='teams'>Maintainer/Reviewer/Teams</h2>
331
354
<p>
@@ -410,13 +433,6 @@ As an example, let's assume you have created the SVGs for Redhat and Amazon Web
410
433
<li>Solution: Ensure the name of the PR follows the convention.</li>
411
434
</ul>
412
435
</li>
413
-
<li><b>Peek bot fails when an icon is updated</b>
414
-
<ul>
415
-
<li>See <a href="https://github.com/devicons/devicon/pull/554">this PR</a> for an example.</li>
416
-
<li>The <code>bot-peek</code> script compares the <code>devicon.json</code> and <code>icomoon.json</code> to limit the icon uploading process. An update in the repo won't change anything in the <code>devicon.json</code> and <code>icomoon.json</code> so the script would report that nothing is found.</li>
417
-
<li>Solution: Follow the steps laid out <a href="https://github.com/devicons/devicon/pull/554#issuecomment-816860577">here</a></li>
418
-
</ul>
419
-
</li>
420
436
<li><b>Icon created by Icomoon contains strange lines that aren't in the SVG</b>
@@ -429,7 +445,7 @@ As an example, let's assume you have created the SVGs for Redhat and Amazon Web
429
445
<h2id="discordServer">Discord server</h2>
430
446
<p>
431
447
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.
432
-
<b>Note that the Discord server is unofficial, and Devicons is still being maintained via GitHub.</b>
448
+
<b>The Discord server is unofficial, and Devicons is still being maintained via GitHub.</b>
433
449
</p>
434
450
435
451
<h2id='release'>Release strategy, conventions, preparation and execution</h2>
@@ -461,7 +477,7 @@ We are running a Discord server. You can go here to talk, discuss, and more with
461
477
Take the PRs/commits as a guideline. It's also a good idea to mention and thank all contributions who participated in the release (take description of <code><a href="https://github.com/devicons/devicon/pull/504">#504</a></code> as an example).
462
478
</li>
463
479
<li>
464
-
Rather than doing it manually, you can instead run <code>python ./.github/scripts/get_release_message.py $GITHUB_TOKEN</code> locally. Pass in your GitHub Personal Access Token for <code>$GITHUB_TOKEN</code> and you should see the messages. You can also use the `workflow_dispatch` trigger in the GitHub Actions tab.
480
+
We now have a script that will do this for us. Check the `build-bot`'s PR message in the last step. There should be a section where it displays the features that have been added to the release. You can copy the markdown there and use it for the release message.
@@ -159,19 +161,44 @@ Add css rules in your stylesheet
159
161
160
162
<h2id="contribute">Contributing</h2>
161
163
<p>
162
-
We are happy for every contribution. Please have a look at our <a href="CONTRIBUTING.md">contribution guidelines</a>
163
-
to see how you can contribute to this project.
164
+
We are happy for every contribution, whether it's new icons, features, or maintainers. Please have a look at our <a href="CONTRIBUTING.md">contribution guidelines</a> to see how you can contribute to this project.
164
165
</p>
165
166
166
-
<h2id="stale-prs">Stale pull requests</h2>
167
+
<h2id="discord-server">Discord server</h2>
167
168
<p>
168
-
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.
169
+
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.
170
+
<b>Note that the Discord server is unofficial, and Devicons is still being maintained via GitHub.</b>
169
171
</p>
170
172
171
-
<h2id="discord-server">Discord server</h2>
173
+
<h2id="develop-vs-master"><code>develop</code> vs <code>master</code></h2>
172
174
<p>
173
-
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.
174
-
<b>Note that the Discord server is unofficial, and Devicons is still being maintained via GitHub.<b>
175
+
All official releases shall be in <code>master</code>. Any updates in between (icons, features, etc.) will be kept in <code>develop</code>.
176
+
</p>
177
+
<b><code>develop</code> contains:</b>
178
+
<ul>
179
+
<li>
180
+
Latest SVGs (non-optimized).
181
+
</li>
182
+
<li>
183
+
No icons for the latest SVGs. These will be build at every release.
184
+
</li>
185
+
<li>
186
+
Experimental changes.
187
+
</li>
188
+
</ul>
189
+
<b><code>master</code> contains:</b>
190
+
<ul>
191
+
<li>
192
+
Latest official release, which contains the SVGs and icons.
193
+
</li>
194
+
<li>
195
+
Official tested changes.
196
+
</li>
197
+
</ul>
198
+
199
+
<h2id="stale-prs">Stale pull requests</h2>
200
+
<p>
201
+
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.
0 commit comments