Chia-Network / chia-docs

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

Home Page:https://docs.chia.net/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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.

About

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

https://docs.chia.net/

License:Apache License 2.0


Languages

Language:JavaScript 76.1%Language:TypeScript 15.6%Language:CSS 7.5%Language:Jinja 0.7%Language:Dockerfile 0.2%