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 websiteInstall yarn.
In website folder:
yarn installIn website folder:
yarn startThen 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
BasicsandIntegrateto the folder:docs/basicsanddocs/integrate - add the path of the folder to the
website/sidebars.jsonfile