Skip to content

Latest commit

 

History

History
66 lines (43 loc) · 3.19 KB

CONTRIBUTING.md

File metadata and controls

66 lines (43 loc) · 3.19 KB

Contributing to riotjs.com

riotjs.com is our documents site for Riot.js.

If you’d like to contribute to improve or translate the docs, you can fork this repo, commit your changes, & send a pull request.

Improving (English)

Send a pull request to the master branch.

Translation

In short:

  • add translation into directory named your language
  • send a pull request to lang/vesion branch

For example fr/v2.2.4 or ja/v2.3.0.

If there's no translation yet, follow the instruction below.

Start project for new language:

  • Make a new issue about translation like this
  • Pick your language code. For example: ja, zh, es, de, ...etc.
  • Collaborators will make a new branch for translation. For example fr/v2.2.4 or ja/v2.3.0.
  • Fork the branch, and add some files and directories below.
  • Send pull request to the branch. You don't have to complete. It's OK if it's on the way.

Files and directories:

Check the site locally:

See Jekyll document. Don't worry, easy steps. Basically just two:

  • $ sudo gem install jekyll
  • $ jekyll serve at the root directory of this project.

If you use Windows, check this instruction, too.

When translation complete:

  • Send PR to master branch and let someone merge it. (PR is preferred way, but, maintainer can merge it directly if the change is small)
  • Remove working branch: ex. fr/v2.2.4 or ja/v2.3.0
  • Add tag: ex. v2.2.4-fr or v2.3.0-ja

Keep updating continuously:

  • We're discussing about Tagging and branching convention.
  • Don't work hard alone, invite your friend as a translator or a reviewer.
  • Make a team for your language!

Note