This is the website for Chia Docs, the source of truth for Chia documentation.
If you would like to contribute localization translations, please visit our Crowdin and sign up to be a contributor.
This website is built using Docusaurus 2, a modern static website generator, and deployed with Github Pages.
$ npm install
$ 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.
$ npm run build
This command generates static content into the build
directory and can be served using any static contents hosting service.
$ npm run serve
This command serves the static content in the build
directory.
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 install
$ npm ci
$ npx prettier . --write
$ npm run build
$ npm run serve
Note: npx prettier --write --ignore-path .gitignore --ignore-path .prettierignore .
is for verifying the formatting of all .md and .mdx files and should be run in the root directory.