Contributing to Mk Notes
February 12, 2025 ยท View on GitHub
First off, thank you for considering contributing to Mk Notes!
Reporting bugs
If you find a bug, please open an issue on GitHub with as much detail as possible. Include steps to reproduce the issue, the expected result, and the actual result.
Code contribution
If you have an idea for an improvement or want to fix a bug, please open an Pull Request on GitHub and describe your changes in detail.
Explain why you think it would be a good addition to the project.
Follow these instruction to contribute to the project:
Submitting Pull Requests
-
Fork the repository: Click the "Fork" button at the top right of the repository page.
-
Clone your fork:
git clone https://github.com/your-username/mk-notes.git cd mk-notes -
Create a new branch:
git checkout -b feature/your-feature-name -
Make your changes: Implement your changes in the codebase.
-
Commit your changes:
git commit -m "feat: add your feature" -
Push to your fork:
git push origin feature/your-feature-name -
Open a pull request: Go to the original repository and click the "New pull request" button. Select your branch from the dropdown and submit the pull request.
Coding Standards
- Follow the existing code style.
- Write clear, concise commit messages.
- Ensure your code passes all tests and lint checks.
Installation
On first make sure you installed all dependencies by running:
yarn install
Run CLI locally
To run the CLI locally, use the following command:
yarn cli <command>
Contribution to documentation
If you want to contribute to the documentation, you can find the markdown files in the docs folder.
First install dependencies inside the docs folder:
cd docs
yarn install
Then you can run the documentation from the root directory:
yarn doc:serve
Running Tests
To run the tests, use the following command:
yarn test
Linting
To run the linter, use the following command:
yarn lint
Thank you for contributing!