Visit the documentation site: CITAHub Docs
- Add or modify the docs under
docs
folder. - Modify sidebar in
sidebars.json
$ cd website
$ yarn install
$ ENABLE_SOURCE_DOCS=true yarn start # use set ENABLE_SOURCE_DOCS to set the environment
Open your brower, and enter the http://localhost:3000/en/next/welcome
$ cd website
$ yarn install
Note
You can also install by npm:
$ npm install
$ cd website && yarn run write-translations
Crowdin-CLI Required - Crowdin-CLI
Crowdin Config Required - set project identifier and apikey in
crowdin.yaml
- Upload latest docs to crowdin
$ yarn run crowdin:upload
- Download latest translated docs from crowdin
$ yarn run crowdin:download
$ cd website && GIT_USER=<your_git_username> CURRENT_BRANCH=master USE_SSH=true yarn run publish-gh-pages