This is new verison of Nervos CKB documentation website.
It is built with docusaurus.
git clone https://github.com/nervosnetwork/docs-new.git docs && \
cd docs && \
cd website
Install yarn.
In website
folder:
yarn install
In website
folder:
yarn start
Then you should be able to preview the website at http://localhost:3000/
in your browser.
All the documents go into the docs
folder.
To add a document:
- add
Basics
andIntegrate
to the folder:docs/basics
anddocs/integrate
- add the path of the folder to the
website/sidebars.json
file