We welcome contributions of any size and skill level. Before contributing, please read the Code of Conduct and follow the directions below:
Tip
New contributors: Take a look at https://github.com/firstcontributions/first-contributions for helpful information on contributing
- Always leave screenshots for visual changes.
- Always leave a detailed description in the pull request. Leave nothing ambiguous for the reviewer.
- Always review your code first. Run the project locally and test it before requesting a review.
- Always communicate in the GitHub repository. Whether in the issue or the pull request, keeping the lines of communication open and visible to everyone on the team helps everyone around you.
Contributing new or edited words to the dictionary!? there are two primary ways you can contribute new words or edit existing ones:
-
Using the Jargons Editor (Highly Recommended):
The Jargons Editor is a user-friendly interface built to simplify the contribution process. You can add new words or edit existing ones directly through the visual editor. Visit jargons.dev/editor to get started. -
Using GitHub UI or Other Means:
If you prefer to use the GitHub UI or other means, you can follow these steps:-
For New Words:
- Grab our predefined word template below
--- layout: ../../layouts/word.astro title: "title_here" --- content_here
- Fill in the word details in the template, ensuring accuracy and clarity.
- Create a new file for the word in the
src/content/dictionary
folder. - Name the file in a slug format, e.g.,
new-word.mdx
. - Submit your file as a pull request to the
main
branch of our repository.
- Grab our predefined word template below
-
For Editing Existing Words:
- Locate the existing file for the word you wish to edit in the
src/content/dictionary
folder. - Make your edits directly to the file.
- Submit your changes as a pull request to the
main
branch of our repository.
- Locate the existing file for the word you wish to edit in the
-
For contributions other than adding or editing words in the dictionary, please refer to the guidelines below.
To create an Issue, please follow these steps:
- Search existing Issues before creating a new issue (to see if someone raised this already)
- If it doesn't exist create a new issue giving as much context as possible (please select the correct Issue type, for example
bug
orfeature
) - If you wish to work on the Issue, Select the checkbox "I will like to work on this issue".
If you wish to work on an open issue, please ask for it to be assigned to you and it will be assigned to you.
Important
Only start working on an Issue (and open a Pull Request) when it has been assigned to you - this will prevent confusion, multiple people working on the same issue and work not being used
In case you get stuck while working on an issue you've been assigned, feel free to ask question openly in the comment.
Please follow our Code of Conduct in all your interactions with the project and its contributors.
We actively welcome your pull requests. However, you must ensure that you are assigned to an existing issue before working on a pull request, and you need to link your work to the issue in your PR form.
-
Fork and clone the repo.
-
Creating a new branch is a must. Before working on your changes, create a new branch from the default (
main
,beta
, etc.) branch. Name your branch with something descriptive of your work, i.e.,add-navbar
orfix/broken-links
. -
If you've added code that should be tested, add tests.
-
If you've changed APIs, update the documentation.
-
If you make visual changes, screenshots are required.
-
Ensure the test suite passes.
-
Make sure you address any lint warnings.
-
If you improve the existing code or added a new npm package, please let us know in your PR description.
-
Completing the PR form is required. Make sure to fill in the PR title, description, link to an issue, and all the necessary areas.
-
The title must begin with
feat:
,fix:
, or anything related to your changes.
TIP: You can follow your chosen option when committing your changes. -
Unsolicited code is welcomed, but an issue is required to announce your intentions.
-
GitHub supports draft pull requests, which will disable the merge button until the PR is marked as ready for merge.
To contribute to jargons.dev, follow these steps:
- Fork the repository to your own GitHub account.
- Clone the forked repository to your local machine.
- Check the project's README to learn more on how to run the project locally.
To generate a production-ready version of your code, run:
npm run build
By contributing to the jargons.dev project, you agree that your contributions will be licensed
by a specific License. You can find this information in the LICENSE
file of the repo you are contributing to.
This document was created picking some ideas from the ones listed below