|
1 |
| -# Contributing to Developers India Wiki |
2 |
| - |
3 |
| -:+1::tada: First off, thanks for taking the time to contribute! :tada::+1: |
| 1 | +# Contributing to Developers India Resources |
4 | 2 |
|
| 3 | +First off, thanks for taking the time to contribute! 🎉 |
5 | 4 | Make sure you follow below guidelines before contributing.
|
6 | 5 |
|
7 |
| -1. Raise an issue before sending an PR. |
8 |
| -2. Make you changes to `feature` branch. |
9 |
| -3. See if there is already an open PR for the same issue. |
10 |
| -4. Feel free while asking doubts, just open an [issue](https://github.com/developersIndia/wiki/issues/new). |
| 6 | +## What qualifies as a "resource"? |
| 7 | + |
| 8 | +- Anything which can be used/referenced to learn something. We only accept following types of resources: |
| 9 | + 1. Book |
| 10 | + 2. Video |
| 11 | + 3. Article |
| 12 | + 4. Cheatsheet |
| 13 | + 5. Online Course (Free/Paid) |
| 14 | + 6. Github Repository |
| 15 | + 7. Audio (any podcasts) |
| 16 | + 8. Website (Anything dedicated to learning one thing. For ex. `javascript.info` qualifies as a "Website" resource for "JavaScript" whereas `colorlib.com` doesn't qualify as a resource for "CSS". |
| 17 | + |
| 18 | + |
| 19 | +## How to add a new resource? |
| 20 | + |
| 21 | +1. Figure out the correct directory for your resource, E.g. If you are adding a "Python" resource, you will have to edit the `index.json` file in `languages/python` directory. |
| 22 | + > If no appropriate directory exists for your resource, add it inside `miscellaneous/index.json`. |
| 23 | +
|
| 24 | +2. Go to the bottom of the json file and add a object like this. |
| 25 | + ```json |
| 26 | + { |
| 27 | + "title":"", |
| 28 | + "url":"", |
| 29 | + "type":"", |
| 30 | + "level":"", |
| 31 | + "reviews": [] |
| 32 | + } |
| 33 | + ``` |
| 34 | + |
| 35 | + Reference the below table for description of each JSON key. |
| 36 | + |
| 37 | + | Key | Description | |
| 38 | + |:---------:|:------------------------------------------------------------------------------------------------------------------------------------------------------------| |
| 39 | + | `title` | The title of resource. If you are contributing a book resource you can choose to mention the author | |
| 40 | + | `url` | The permalink to the resource. No links that redirect anywhere. | |
| 41 | + | `type` | What type of resource is this:<br>1. `book`<br>2. `video`<br>3. `article`<br>4. `cheatsheet`<br>5. `course`<br>6. `github`<br>7. `audio`<br>8. `website`<br> | |
| 42 | + | `level` | What is the best audience for consuming this resource<br>1. `beginner`<br>2. `intermediate`<br>3. `advanced`<br>4. `everyone` | |
| 43 | + | `reviews` | Add you review of this resource.<br>- What did you learn from it?<br>- What was special or interesting about it?<br>- Why do you recommend this resource? | |
| 44 | + |
| 45 | + This is how a correct object looks like: |
| 46 | + |
| 47 | + ```json |
| 48 | + { |
| 49 | + "title":"learnopengl.com", |
| 50 | + "url":"https://learnopengl.com/", |
| 51 | + "type":"book", |
| 52 | + "level":"everyone", |
| 53 | + "reviews":[ |
| 54 | + "You should only follow concepts here, not api" |
| 55 | + ] |
| 56 | + } |
| 57 | + ``` |
| 58 | + > We highly encourage contributors to add their review to provide a community aspect for the resource. If you have nothing to say about the resource you can omit adding the "reviews" key. |
| 59 | +
|
| 60 | +3. Make you changes to `feature` branch & send a PR (See if there is already an open PR with the same contribution). |
| 61 | +4. Feel free to ask doubts, just open an [issue](https://github.com/developersIndia/resources/issues/new). |
0 commit comments