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
Fix links to not point to the old repository anymore and remove a file that shouldn't be here. (#117)
* Fix links to not point to the old repository anymore.
* Remove file, that shouldn't be in here.
* adding a line about the discord server in how_to_contribute.md
Copy file name to clipboardExpand all lines: chapters/how_to_contribute.md
+2-1Lines changed: 2 additions & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -12,7 +12,7 @@ Right now, I feel comfortable writing the text associated with each algorithm an
12
12
In the future, I might allow other users to write algorithm chapters, but for now let's keep it simple: I'll do the writing, everyone else does the coding.
13
13
Now for some specifics on submissions:
14
14
15
-
1.**Style**: Follow standard style guidelines associated with your language of choice. For C / C++, please use Stroustrup style, with `auto` used rarely or not at all. We have had plenty of discussions about this, which can be found [here](https://github.com/leios/algorithm-archive/issues/18). I will leave the issue open for now in the case that other individuals have more to contribute there. Basically, your code should be readable and understandable to anyone -- especially those who are new to the language. In addition, remember that your code will be displayed in this book, so try to keep to around 80 columns and try to remove any visual clutter. In addition, keep variable names clean and understandable.
15
+
1.**Style**: Follow standard style guidelines associated with your language of choice. For C / C++, please use Stroustrup style, with `auto` used rarely or not at all. We have had plenty of discussions about this, which can be found [here](https://github.com/algorithm-archivists/algorithm-archive/issues/18). I will leave the issue open for now in the case that other individuals have more to contribute there. Basically, your code should be readable and understandable to anyone -- especially those who are new to the language. In addition, remember that your code will be displayed in this book, so try to keep to around 80 columns and try to remove any visual clutter. In addition, keep variable names clean and understandable.
16
16
2.**Licensing**: All the code from this project will be under the MIT licence found in `LICENCE.md`; however, the text will be under a Creative Commons Attribution-NonCommercial 4.0 International License.
17
17
3.**CONTRIBUTORS.md**: After contributing code, please echo your name to the end of `CONTRIBUTORS.md` with `echo name >> CONTRIBUTORS.md`, and also leave a comment on the top of the code you submitted with your name (or username) saying `// submitted by name`. This way everyone is held accountable and we know who to contact if we want more information.
18
18
4.**Building the Algorithm Archive**: If you want to build the Algorithm Archive on your own machine, install gitbook and use `gitbook serve` in the main directory (where `README.md` is). This will provide a local url to go to to view the archive in your browser of choice. Use this server to make sure your version of the Algorithm Archive works cleanly for the chapter you are updating!
@@ -32,4 +32,5 @@ Also note that depending on the algorithm, there might be in-text code snippets
32
32
33
33
I'll update this page as the project grows. Basically, when you submit code, it will be under an MIT license. Please keep the code clean and put your name (or username) in the `CONTRIBUTORS.md` file.
34
34
35
+
If you would like to be a part of the ongoing discussion, please feel free to join our discord server: https://discord.gg/pb976sY.
35
36
Thanks for all the support and considering contributing to the Algorithm Archive!
Copy file name to clipboardExpand all lines: chapters/principles_of_code/version_control.md
+5-5Lines changed: 5 additions & 5 deletions
Original file line number
Diff line number
Diff line change
@@ -63,7 +63,7 @@ Because of this, you may want to create a repository under your own github usern
63
63

64
64
65
65
Note that if you have a fork of a particular code repository, you can ask the owner of the original code repository to pull your changes into their version of the code with a *pull request*, but we are getting ahead of ourselves here.
66
-
If you cannot think of what repository to work on and want to collaborate on this project in the future, feel free to fork the [Algorithm Archive](https://github.com/leios/algorithm-archive) and modify that!
66
+
If you cannot think of what repository to work on and want to collaborate on this project in the future, feel free to fork the [Algorithm Archive](https://github.com/algorithm-archivists/algorithm-archive) and modify that!
67
67
68
68
Regardless, as long as there is a repository under your username on github, we can continue by linking that remote github location to your local git directory. First, we need to find the url of the github repository, as shown here:
69
69
@@ -77,15 +77,15 @@ Once you have the url, there are 2 ways to proceed:
@@ -95,7 +95,7 @@ For now, we will breifly describe each of the commands; however, we will definit
95
95
So, here it is, step-by-step:
96
96
1.`mkdir algorithm_archive`: make a directory. We can call this directory anything, but we'll call it algorithm_archive for now.
97
97
2.`git init`: initialize git
98
-
3.`git remote add origin https://github.com/leios/algorithm-archive`: add a remote location (the github url we found just a second ago). Again, we can call this remote location anything, but `git clone` always calls it `origin`, so well stick with that.
98
+
3.`git remote add origin https://github.com/algorithm-archivists/algorithm-archive`: add a remote location (the github url we found just a second ago). Again, we can call this remote location anything, but `git clone` always calls it `origin`, so well stick with that.
99
99
4.`git fetch`: update the local directory with the information from the remote online repository
100
100
5.`git merge origin/master`: merge those updates. Right now, the `origin/master` part of this command might seem like a bit of black octocat magic, but we will cover it in just a bit!
101
101
@@ -113,7 +113,7 @@ Actually, you probably were not asking that question. It's not an obvious questi
113
113
The solution is simple: Add another `remote` like so:
Obviously, you can call the remote anything. I kinda arbitrarily chose to call it `upstream`. By adding this in, you can easily interact with the same codebase from multiple remote locations.
0 commit comments