Skip to content

Latest commit

 

History

History
95 lines (75 loc) · 3.82 KB

CONTRIBUTING.md

File metadata and controls

95 lines (75 loc) · 3.82 KB

Contributing

Please feel free to submit pull requests or open issues to improve the language of this document or to provide additional.

You should also check the issues for the latest discussions involving the current and future versions of the Contributor Covenant.

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.

Adding an adopter

  • 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.

We respect and appreciate different kinds of contributions.

Ways that you can contribute:

Community governance experts

We value collaboration with contributors who bring their experience with code of conduct design or enforcement to continue to improve Contributor Covenant.

Writers and copy editors

We welcome contributions to improve the language of our site.

Designers

We welcome improvements to the layout, design, or user experience of this website, or other ways that you choose to contribute your talents.

Translators and native speakers

If you are interested in doing a translation, please follow these steps:

  1. Fork the repository and make a branch for your translation.
  2. If it's a new language, add it to config.toml, with a localized name and language code/optional region (e.g. pt or pt-br). See the list of ETF BCP 47 language tag codes here
  3. Create a markdown file with your translation in version/1/0/NAME_OF_DOCUMENT.LANGUAGECODE.md. (Underscores, not hyphens.)
  4. Open a pull request.
  5. We will put out a public invitation for one or more other native speakers to review the translation.
  6. Collaborate until the translation is satisfactory.
  7. We will merge your translation!
  8. HTML and plain text versions are automatically generated from your markdown file.
  9. A link to your translation is automatically added to the translations page.

Developers

Code contributions to improve the development or operation of this site are welcome.

Build the website locally

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

Start the server

From the repository's root directory, start the development server:

hugo server -D

Code Style

  • Use spaces for indentation
  • Order properties alphabetically

HTML

  • Include alt attribute for all images
  • Include title attribute for all links
  • Close all your tags properly

CSS

  • Try to use classes instead of IDs unless things are absolutely unique
  • One selector per line
  • Support IE 9 and above
  • Use rem over em or px
  • 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

Markdown

  • Do not use fancy quotes, dashes, and such; the Markdown processor will handle that.