/chia-docs

Chia Docs - documentation on the Chia blockchain, protocol and client

Primary LanguageJavaScriptApache License 2.0Apache-2.0

chiadocs-01

This is the website for Chia Docs, the source of truth for Chia documentation.

Localization (Translation)

Crowdin

If you would like to contribute localization translations, please visit our Crowdin and sign up to be a contributor.

Website

This website is built using Docusaurus 2, a modern static website generator, and deployed with Github Pages.

Installation

$ npm install

Local Development

$ npm start

This command starts a local development server and opens up a browser window. Most changes are reflected live without having to restart the server.

Build

$ npm run build

This command generates static content into the build directory and can be served using any static contents hosting service.

Serve

$ npm run serve

This command serves the static content in the build directory.

Commands run in github CI

These are the commands being run in the github CI, run them all locally in this order to ensure there are no issues building and serving the content prior to submitting a pr:

$ npm ci
$ npm install
$ npm run build
$ npm run serve