Do you want to add more resources on a particular page, already present on the website ?
You may chose to update that particular page by either the website UI or by using git.
You would have to send a PR using git
For displaying mathematical expressions, we use LaTeX. Just write the latex expression inside $
symbols. For eg. $x = 3$
- Ensure the bug was not already reported by searching on GitHub under Issues.
- If you're unable to find an open issue addressing the problem, open a new one. Be sure to include a title and clear description, as much relevant information as possible.
- Open the page, you want to update.
- Click on the " Edit this page " option at the bottom.
- Make the required changes and preview them. For markdown syntax, refer here
- Add a useful commit message, like "Update binary search problems" and select
Commit changes
option at the bottom. - This will create a pull request to this repository. If it is found suitable, it would be merged by the maintainers, within a few days.
- If you had already forked and cloned this repository earlier, you may refer syncing with the main repsitory and then, move to step 3, directly. Otherwise, move to step 1.
- First fork this repository to your account.
- Go to the forked repo and clone it to your local machine :
git clone https://github.com/<your_username>/cp-roadmap
-
Make sure, you are able to run the website locally, by following the instructions given here
-
Edit the required web page and check its preview. If you are not sure about which file to edit / add, refer file structure. For markdown syntax, you may refer here.
-
Create a branch with a suitable name, related to the page you are working on :
git checkout -b <branch-name>
- Commit your changes :
git add .
git commit -m "Type any useful commit message here like, updated binary search problems"
- Push to your forked repo :
git push origin <branch-name>
-
Open your forked repo, in browser. You will find an option to
Create a Pull Request
. Select that option. -
This will create a pull request to this repository. If it is found suitable, it would be merged by the maintainers, within a few days.
- Run the below command to know the remote URLs of your repository.
git remote -v
If upstream
is already set as https://github.com/Cyber-Labs/cp-roadmap, then move to step 3 directly. Otherwise, move to step 2.
- To add upstream to remote :
git remote add upstream https://github.com/Cyber-Labs/cp-roadmap
Now, you can again check your remote, by command mentioned in step 1.
- Move to
master
branch :
git checkout master
- Pull/Fetch the latest changes from upstream, to sync your repository :
git pull upstream master