Hi there!
If you are visiting this page, it means that you are interested in contributing to the Webrix documentation site. So first off, thanks!
Contributing is simple! Simply follow the steps below:
- Fork the repository.
- Clone the fork to your local machine:
git clone git@github.com:open-amdocs/webrix-docs.git - Clone the webrix repository (both folders should be at the same level)
git clone git@github.com:open-amdocs/webrix.git - Synchronize your local master branch with the upstream one:
git checkout master git pull upstream master - Install the dependencies in both repos:
npm i - Run both repos in dev mode
This will build
npm run devwebrixand watch it for changes, and will openwebrix-docsin your browser athttp://localhost:9000 - Create a new topic branch:
git checkout -b my-topic-branch - Make changes, commit and push to your fork:
git push -u
Go to the repository and make a Pull Request.
Since we use git for our internal projects with a work email/password, you may face issues login into GitHub with your personal username/password. The best way to avoid it is to create a personal access token:
- Create a personal access token
- Clone the repo
- When prompted for a username, use the access token you generated in step 1. Leave the password blank.