-
Notifications
You must be signed in to change notification settings - Fork 9
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #29 from lmedury/main
Migration of articles from Evmos Docs
- Loading branch information
Showing
83 changed files
with
29,743 additions
and
13,395 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -20,4 +20,6 @@ yarn-debug.log* | |
yarn-error.log* | ||
|
||
# Idea | ||
.idea | ||
.idea | ||
|
||
.vercel/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,100 @@ | ||
# Evmos Academy | ||
|
||
Welcome to the Academy Docs, the official place to dive deeper into the world of Evmos. | ||
Welcome to the Academy Docs, the official place to dive deeper into the world of Evmos. | ||
|
||
## How to contribute? | ||
|
||
To contribute/update content in the Academy website, we welcome you to create a pull request. | ||
|
||
### Steps to create a pull request | ||
|
||
You must have git installed and configured on your local computer. | ||
|
||
#### Step 1: Fork the repository | ||
|
||
![Fork Academy](static/img/AcademyFork.png) | ||
|
||
#### Step 2: Clone the repository | ||
|
||
SSH: | ||
|
||
`git clone [email protected]:<usename>/academy.git` | ||
|
||
HTTPS: | ||
|
||
`git clone https://github.com/<username>/academy.git` | ||
|
||
#### Step 3: Install project dependencies | ||
|
||
Please note that the project uses `package-lock.json` lock file, therefore you are expected to install package dependencies only using `npm install`. | ||
|
||
`npm install` | ||
|
||
#### Step 4: Make your updates | ||
|
||
You can contribute new content or fix typos/grammatical errors or update existing content. All of this must be done on your local device. | ||
|
||
If you would like to contribute an article, you must first identify the category it belongs to: | ||
|
||
- Beginner | ||
- Intermediate | ||
- Advanced | ||
|
||
Let us assume the article you are creating belongs to the intermediate category. | ||
|
||
**4.1**: Open your favorite choice of editor | ||
|
||
**4.2**: Create a folder for your article | ||
|
||
You can create a new folder in docs/articles/intermediate | ||
|
||
Create a folder with an intuitive name: `<new-article>` | ||
|
||
![Create Folder](static/img/AcademyCreateFolder.png) | ||
|
||
**4.3**: Create a markdown file: `index.md` | ||
|
||
In markdown, you can add text, images, videos and more. | ||
|
||
A brief intro to [markdown](https://www.markdownguide.org/getting-started/): | ||
|
||
- Single # is used to create a header | ||
- Double ## is used to create a paragraph header | ||
- Text within `` is used for code blocks | ||
- Lists can be added using - | ||
|
||
**4.4**: (Optional) Add images: | ||
|
||
Upload your image to `static/img` folder. | ||
|
||
Images in Markdown can be added this way: | ||
|
||
`![<alt-text>](/img/<image-name>)` | ||
|
||
#### Step 5: Add changes, commit, and push to remote | ||
|
||
For Github to track the changes you make, you must first add the files to the staging area: | ||
|
||
If you would like to add all files to staging: | ||
|
||
`git add .` | ||
|
||
If you would like to add only a specific file: | ||
|
||
`git add <filename>` | ||
|
||
Commit Changes: | ||
|
||
`git commit -m "<commit-message>"` | ||
|
||
Push to academy repository: | ||
|
||
`git push origin main` | ||
|
||
#### Step 6: Create a pull request on Github | ||
|
||
Go to the repository you forked in Github and click on Pull Requests -> New Pull Request -> and ensure the following: | ||
`base respository: evmos/academy` and `base:main` | ||
with `head repository` being the forked repository and `compare` with the branch you wish to merge. | ||
|
||
!['Create PR'](static/img/create-pr.png) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.