Thank you for contributing to Markbook. 👍
By contributing, you agree to abide by the Code of Conduct.
Do not open an issue if you have a question.
If you encounter a genuine bug or other issue that needs to be addressed, submit a new issue on GitHub issues.
-
Fork the repo and create a new branch from
master
. -
Clone your forked repo:
git clone git@github.com:/markbook.git
-
Setup your machine:
npm install
-
Make changes.
-
Make sure your changes work by running the tests:
npm run test npm run build ./bin/markbook build doc
Now open
doc/book/index.html
in your web browser to make sure markbook is still working correctly. -
Ensure your changes conform to the coding conventions
npm run lint
-
Commit your changes using git, then push the changes back to your forked repo on GitHub:
git add ... git commit -m ": DESCRIPTION" -m "LONGER DESCRIPTION (optional)" git push origin master
Some things that will increase the chance that your pull request is accepted:
- Write tests.
- Follow the Standard style guide.
- Follow the Conventional Commit format.