2
0
mirror of https://github.com/sindresorhus/awesome synced 2024-11-15 00:15:04 +00:00
awesome/contributing.md

49 lines
2.9 KiB
Markdown
Raw Normal View History

2015-05-21 10:23:54 +00:00
# Contribution Guidelines
2015-11-01 15:21:35 +00:00
## Table of Contents
- [Adding to this list](#adding-to-this-list)
- [Creating your own awesome list](#creating-your-own-awesome-list)
- [Adding something to an Awesome list](#adding-something-to-an-awesome-list)
- [Updating your Pull Request](#updating-your-pull-request)
## Adding to this list
2015-05-21 10:23:54 +00:00
Please ensure your pull request adheres to the following guidelines:
- Search previous suggestions before making a new one, as yours may be a duplicate.
- Make sure the list is useful before submitting. That implies it has enough content and every item has a good succinct description.
2015-05-21 10:23:54 +00:00
- Make an individual pull request for each suggestion.
2015-10-24 23:37:54 +00:00
- Use [title-casing](http://titlecapitalization.com) (AP style).
2015-05-21 10:23:54 +00:00
- Use the following format: `[List Name](link)`
- Link additions should be added to the bottom of the relevant category.
2015-05-21 10:23:54 +00:00
- New categories or improvements to the existing categorization are welcome.
- Check your spelling and grammar.
- Make sure your text editor is set to remove trailing whitespace.
- The pull request and commit should have a useful title.
- The body of your commit message should contain a link to the repository.
2015-05-21 10:23:54 +00:00
Thank you for your suggestions!
## Creating your own awesome list
To create your own list, check out the [instructions](create-list.md).
2015-11-01 15:21:35 +00:00
## Adding something to an awesome list
If you have something awesome to contribute to an awesome list, this is how you do it.
2015-08-21 07:00:28 +00:00
You'll need a [GitHub account](https://github.com/join)!
2015-08-21 07:00:28 +00:00
1. Access the awesome list's GitHub page. For example: https://github.com/sindresorhus/awesome
2. Click on the `readme.md` file: ![Step 2 Click on Readme.md](https://cloud.githubusercontent.com/assets/170270/9402920/53a7e3ea-480c-11e5-9d81-aecf64be55eb.png)
3. Now click on the edit icon. ![Step 3 - Click on Edit](https://cloud.githubusercontent.com/assets/170270/9402927/6506af22-480c-11e5-8c18-7ea823530099.png)
4. You can start editing the text of the file in the in-browser editor. Make sure you follow guidelines above. You can use [GitHub Flavored Markdown](https://help.github.com/articles/github-flavored-markdown/). ![Step 4 - Edit the file](https://cloud.githubusercontent.com/assets/170270/9402932/7301c3a0-480c-11e5-81f5-7e343b71674f.png)
5. Say why you're proposing the changes, and then click on "Propose file change". ![Step 5 - Propose Changes](https://cloud.githubusercontent.com/assets/170270/9402937/7dd0652a-480c-11e5-9138-bd14244593d5.png)
6. Submit the [pull request](https://help.github.com/articles/using-pull-requests/)!
## Updating your Pull Request
Sometimes, a maintainer of an awesome list will ask you to edit your Pull Request before it is included. This is normally due to spelling errors or because your PR didn't match the awesome-* list guidelines.
[Here](https://github.com/RichardLitt/docs/blob/master/amending-a-commit-guide.md) is a write up on how to change a Pull Request, and the different ways you can do that.