Skip to content

Commit 5f7c972

Browse files
author
Karan Goel
committed
change instructions for adding solutions
1 parent dd7c043 commit 5f7c972

File tree

2 files changed

+14
-6
lines changed

2 files changed

+14
-6
lines changed

CONTRIBUTING.md

Lines changed: 13 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -3,17 +3,25 @@ How to Contribute
33

44
## Solutions
55

6-
Please **do not send pull requests for replacing my code**. If you'd like to contribute solutions, please see the following instructions:
6+
Please **do not send pull requests for replacing my code**. If you'd like to contribute [solutions](https://github.com/thekarangoel/Projects-Solutions), please see the following instructions:
77

88
- Solve the problem, and keep it in your repo. DO NOT send merge request yet.
99

10-
- [Open an issue](https://github.com/thekarangoel/Projects/issues/new) with the following details - problem you solved, language used, and a link to the solution.
10+
- Find the problem in this [README](https://github.com/thekarangoel/Projects-Solutions/blob/master/README.md) file.
1111

12-
- The link to your solution will be present in this [gist](https://gist.github.com/thekarangoel/6088143) like so:
12+
- Edit the file in this format (notice the double square brackets):
13+
14+
\**This is a problem** - And here goes it's description. \[[octocat (language)]]\(link-to-octocats-solution) \[[your_username (C++)]]\(link-to-your-solution)
15+
16+
This results in something like this:
1317

14-
**This is a problem** - And here goes it's description. [[octocat (Python)]](link-to-octocats-solution) [[your_username(C++)]](link-to-your-solution)
18+
**This is a problem** - And here goes it's description. [[octocat (language)]](link-to-octocats-solution) [[your_username (C++)]](link-to-your-solution)
19+
20+
- Please respect other people and do not delete or move anyone else's link. Place your solution at the end of the list of solutions.
21+
22+
- Save/Commit the README.md file.
1523

16-
- That's it. As soon as I get online I'll add the link to the gist! You do not need to do anything else.
24+
- Send a pull request for this commit ONLY - ie, the commit to the [solutions repo](https://github.com/thekarangoel/Projects-Solutions)!
1725

1826
=====================================
1927

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ Ever since this repo was created, it has been in the top list on GH. Be it the d
1111

1212
### [CONTRIBUTING](https://github.com/thekarangoel/Projects/blob/master/CONTRIBUTING.md)
1313

14-
See ways of [contributing](https://github.com/thekarangoel/Projects/blob/master/CONTRIBUTING.md) to this repo. You can contribute solutions (will be published in this [gist](https://gist.github.com/thekarangoel/6088143)) to existing problems, add new projects or remove existing ones. Make sure you follow all instructions properly.
14+
See ways of [contributing](https://github.com/thekarangoel/Projects/blob/master/CONTRIBUTING.md) to this repo. You can contribute solutions (will be published in this [repo]([solutions](https://github.com/thekarangoel/Projects-Solutions))) to existing problems, add new projects or remove existing ones. Make sure you follow all instructions properly.
1515

1616
================================
1717

0 commit comments

Comments
 (0)