Please feel free to submit pull requests or open issues to improve the language of this document or to provide additional translations.
You should also check the issues for the latest discussions involving the current and future versions of the Contributor Covenant.
To build the website locally, first install Hugo
using your package manager of choice.
For example, on Debian/Ubuntu:
apt-get install hugo
If you are using Arch Linux:
pacman -S hugo
If you are using Homebrew on macOS:
brew install hugo
From the repository's root directory, start the development server:
hugo server -D
We're always looking for new localizations of the Contributor Covenant and are thankful to the volunteers who spend their time on translations.
If you are 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.pt
orpt-br
). - Create a markdown file with your translation in
version/2/0/code_of_conduct.LANGUAGECODE.md
. (Underscores, not hyphens.) - 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.
- Fork the repository.
- Add a new row to the adopters.csv file, with the project name in the first column, and the project URL in the second column.
- Open a pull request.
- Use spaces for indentation
- Order properties alphabetically
- Include
alt
attribute for all images - Include
title
attribute 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 IE 9 and above
- Use
rem
overem
orpx
- 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
- We also use
#FFF
,#CCC
, and#111
for main body text
.class {
color: #4C1161;
font-size: 1.1rem;
}
.second-class,
.third-class {
background-color: white;
}
- Do not use fancy quotes, dashes, and such; the Markdown processor will handle that.