Please feel free to submit pull requests or open issues to improve Contributor Covenant, whether through code, content, design, or translations.
If you're new to contributing to projects hosted on Github, or need a refresher, you may find How to make your first pull request on GitHub a useful resource.
Check the issues for the latest discussions involving the current and future versions of the Contributor Covenant. If your question, concern, or suggestion is not already listed, please open a new issue using the New Issue button, and select either the 🪲Bug Report or 💡Feature Request template.
- Fork the repository.
- Edit the
assets/adopters.csvfile - Add a row with your project or community name in the first column, and its URL in the second column.
- For human readability, please make sure that you've preserved alphabetical order in the list.
- Open a pull request.
Ways that you can contribute:
We value collaboration with contributors who bring their experience with code of conduct design or enforcement to continue to improve Contributor Covenant.
We welcome contributions to improve the language of our site.
We welcome improvements to the design elements of our website or other ways that you can use your talents to improve contributor-covenant.org.
We're always looking for translations by native speakers are thankful to the dozens of volunteer translators and reviewers who have donated their time and expertise.
If you are a native speaker interested in doing a translation, please follow these steps:
- Fork the repository and make a branch for your translation.
- If it's a new language, add it to
config.toml, with a localized name and language code/optional region (e.g.ptorpt-br). - Create a markdown file with your translation in
version/3/0/code_of_conduct.LANGUAGECODE.md. (Underscores, not hyphens.) Use the English markdown file as an example. - Update the two fields at the top of your new markdown file:
reportingPlaceholder, which should contain the exact placeholder text in the "how to report" section, andenforcementPlaceholder, which should contain the exact placeholder text in the "Addressing and Repairing Harm" section. - Open a pull request.
- We will put out a call to have one or more other native speakers review the translation.
- Collaborate until the translation is satisfactory.
- We will merge your translation!
- HTML and plain text versions are automatically generated from your markdown file.
- A link to your translation is automatically added to the translations page.
Note that we will not accept machine translations.
Code contributions to improve the development or operation of the contributor-covenant.org web site are welcome. To do so, first check to make sure your issue is not already listed in the issues.
- To build the website locally, first fork the repo and then clone it to your local machine.
- install Hugo using your package manager of choice.
For example, on Debian/Ubuntu:
apt-get install hugoIf you are using Arch Linux:
pacman -S hugoIf you are using Homebrew on macOS:
brew install hugo- From the repository's root directory, start the development server and then view it at http://localhost:1313/.
hugo server -D- Any changes you make will be reflected in the browser.
- Use spaces for indentation
- Order properties alphabetically
- Include
altattribute for all images - Include
titleattribute for all links - Close all your tags properly
- Try to use classes instead of IDs unless things are absolutely unique
- One selector per line
- Support all modern browsers
- Use
removeremorpx - Capitalize hexadecimal
- Breaking lines should be
1px solid #CCC - Maintain contrast to WCAG AA on normal text, WCAG AAA on large text
- Use colors from this palette
- Do not use fancy quotes, dashes, and such; the Markdown processor will handle that.