Skip to content

Commit 430f3a1

Browse files
june128leios
authored andcommitted
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
1 parent 6893834 commit 430f3a1

File tree

3 files changed

+7
-203
lines changed

3 files changed

+7
-203
lines changed

chapters/how_to_contribute.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ Right now, I feel comfortable writing the text associated with each algorithm an
1212
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.
1313
Now for some specifics on submissions:
1414

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.
1616
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.
1717
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.
1818
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
3232

3333
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.
3434

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.
3536
Thanks for all the support and considering contributing to the Algorithm Archive!

chapters/principles_of_code/version_control.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@ Because of this, you may want to create a repository under your own github usern
6363
![How to fork](fork.png)
6464

6565
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!
6767

6868
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:
6969

@@ -77,15 +77,15 @@ Once you have the url, there are 2 ways to proceed:
7777

7878
**The easy way:**
7979
```
80-
git clone https://github.com/leios/algorithm-archive
80+
git clone https://github.com/algorithm-archivists/algorithm-archive
8181
```
8282

8383
**The not-so-easy way:**
8484
```
8585
mkdir algorithm_archive
8686
cd algorithm_archive
8787
git init
88-
git remote add origin https://github.com/leios/algorithm-archive
88+
git remote add origin https://github.com/algorithm-archivists/algorithm-archive
8989
git fetch
9090
git merge origin/master
9191
```
@@ -95,7 +95,7 @@ For now, we will breifly describe each of the commands; however, we will definit
9595
So, here it is, step-by-step:
9696
1. `mkdir algorithm_archive`: make a directory. We can call this directory anything, but we'll call it algorithm_archive for now.
9797
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.
9999
4. `git fetch`: update the local directory with the information from the remote online repository
100100
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!
101101

@@ -113,7 +113,7 @@ Actually, you probably were not asking that question. It's not an obvious questi
113113
The solution is simple: Add another `remote` like so:
114114

115115
```
116-
git remote add upstream https://github.com/leios/algorithm-archive
116+
git remote add upstream https://github.com/algorithm-archivists/algorithm-archive
117117
```
118118

119119
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.

chapters/principles_of_code/version_control.md2

Lines changed: 0 additions & 197 deletions
This file was deleted.

0 commit comments

Comments
 (0)