node-serialport-bindings-cpp/packages/website
2018-11-26 21:52:12 -05:00
..
blog docs: localization support for the document site (#1718) 2018-11-09 16:56:34 -05:00
core docs: localization support for the document site (#1718) 2018-11-09 16:56:34 -05:00
i18n docs: localization support for the document site (#1718) 2018-11-09 16:56:34 -05:00
pages/en docs: localization support for the document site (#1718) 2018-11-09 16:56:34 -05:00
static docs: Improve readme and homepage 2018-09-09 12:58:52 -04:00
translated_docs docs: localization support for the document site (#1718) 2018-11-09 16:56:34 -05:00
.gitignore docs: localization support for the document site (#1718) 2018-11-09 16:56:34 -05:00
languages.js docs: localization support for the document site (#1718) 2018-11-09 16:56:34 -05:00
package.json docs: update publishing 2018-11-26 21:52:12 -05:00
README.md docs: localization support for the document site (#1718) 2018-11-09 16:56:34 -05:00
sidebars.json docs: Move the code of conduct into the docs. (#1666) 2018-09-15 11:19:04 -04:00
siteConfig.js docs: localization support for the document site (#1718) 2018-11-09 16:56:34 -05:00

Website

Build / Dev

From the monorepo root run

npm run docs # build the website
npm run docs:dev # run the development server

Localization

To update the localization add your crowdin keys to the env

export CROWDIN_DOCUSAURUS_PROJECT_ID=node-serialport
export CROWDIN_DOCUSAURUS_API_KEY=XXXXX

Cd into the website directory and run

npm run crowdin-upload
npm run crowdin-download

This will upload new docs and download new translations.

To add new languages add them to packages/website/languages.js and run npm run crowdin-upload. Also add it as a target within crowdin itself.