👍 Thank you for your interest in contributing to adv-math
! We welcome contributions from the community to help improve and enhance this mathematical library.
Contributing to adv-math
is easy and we appreciate every contribution. Follow these steps to get started:
-
Fork the Repository
Click the "Fork" button in the top right corner of this repository to create your own copy.
-
Clone the Repository
Clone the repository to your local machine using the following command (replace
[YOUR_USERNAME]
with your GitHub username):git clone https://github.com/[YOUR_USERNAME]/adv-math.git
-
Create a Branch
Create a new branch for your contribution. Name the branch something related to the feature or bug you are working on.
git checkout -b feature-or-bug-fix-name
-
Make Changes
Make your desired changes to the codebase. Ensure that your changes follow the coding standards and guidelines of the project.
-
Write Tests
If you are adding new functionality or fixing a bug, write tests for your code in the
tests/
directory. Ensure that your tests cover the functionality you have added or fixed. -
Run Tests
Before submitting your changes, make sure all tests pass. You can run tests using the following command:
npm test
or
yarn test
Fix any failing tests before proceeding.
-
Commit Changes
Commit your changes with a meaningful commit message. Please follow the conventional commit format if possible.
git commit -m "feat: add new feature" # Use "feat" for new features
-
Push Changes
Push your changes to your forked repository:
git push origin feature-or-bug-fix-name
-
Create a Pull Request (PR)
Go to the main repository and click on the "New Pull Request" button. Compare the changes between your branch and the
main
branch. Provide a clear and concise description of your changes in the PR. -
Review and Collaborate
Collaborate with maintainers and other contributors to address any feedback or discussions related to your PR. Be responsive to comments and make necessary changes.
-
Merge PR
Once your PR has been approved, a maintainer will merge your changes into the main branch.
-
Celebrate
Congratulations! You've successfully contributed to
adv-math
. Thank you for your contribution!
Please review our Code of Conduct before contributing to this project. We expect all contributors to adhere to these guidelines to create a positive and inclusive community.