👍🎉 First off, thank you for investing your time in contributing to our project! 🎉👍
In this guide you will get an overview of the contribution workflow from opening an issue, creating a PR, reviewing, and merging the PR.
Use the table of contents icon on the top left corner of this document to get to a specific section of this guide quickly.
Please, read our Code of Conduct to keep our community approachable and respectable.
To get an overview of the project, please read the README.
If you spot a problem with our codebase, search if an issue already exists. If a related issue doesn't exist, you can open a new issue.
Scan through our existing issues to find one that interests you. You can narrow down the search using labels
as filters. See Labels for more information. As a general rule, we don’t assign issues to anyone. If you find an issue to work on, you are welcome to open a PR with a fix.
If you are looking to make your first contribution, follow the steps below.
If you don't have git on your machine, install it.
Fork this repository by clicking on the fork button on the top of this page. This will create a copy of this repository in your account.
- Using GitHub Desktop:
- Getting started with GitHub Desktop will guide you through setting up Desktop.
- Once Desktop is set up, you can use it to fork the repo!
Now clone the forked repository to your machine. Go to your GitHub account, open the forked repository, click on the code button and then click the copy to clipboard icon.
Open a terminal and run the following git command:
git clone url-you-just-copied
where url-you-just-copied
is the url to this repository (your fork of this project).
Then read our README on how to install dependencies.
Change to the contrast ratio repo directory on your computer (if you are not already there):
cd contrast-ratio-repo
Now create a branch and switch to that new branch using the git checkout
command:
git checkout -b your-new-branch-name
Commit the changes once you are happy with them.
If you go to the project directory and execute the command git status
, you'll see there are changes.
Add those changes to the branch you just created using the git add
command:
git add changed-file-name
Now commit those changes to your local branch using the git commit
command:
git commit -m "commit message"
Push your local branch and create a remote branch on GitHub using the command git push
:
git push -u origin branch-name
When you're finished with the changes, create a pull request, also known as a PR.
- Please follow all instructions in the template so that we can review your PR.
- Don't forget to link PR to issue if you are solving one.
- Enable the checkbox to allow maintainer edits so the branch can be updated for a merge. Once you submit your PR, a team member will review your proposal. We may ask questions or request for additional information.
- We may ask for changes to be made before a PR can be merged, either using suggested changes or pull request comments. You can apply suggested changes directly through the UI. You can make any other changes in your fork, then commit them to your branch.
- As you update your PR and apply changes, mark each conversation as resolved.
- If you run into any merge issues, checkout this git tutorial to help you resolve merge conflicts and other issues.
Congratulations 🎉🎉 The CONTRAST RATIO APP team thanks you ✨.