Skip to content

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

License

Notifications You must be signed in to change notification settings

Chia-Network/chia-docs

Repository files navigation

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 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.