Skip to content
This repository has been archived by the owner on Aug 25, 2020. It is now read-only.
/ docs Public archive

The old and deprecated Nervos CKB Documentation, see https://github.com/nervosnetwork/docs-new for the new one, kept here only for reference reasons.

Notifications You must be signed in to change notification settings

nervosnetwork/docs

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Nervos CKB Documentation Website

This is the old and deprecated Nervos CKB Documentation, see https://github.com/nervosnetwork/docs-new for the new one, kept here only for reference reasons.

CircleCI

This is the Nervos CKB documentation website.

It is built with docusaurus.

Clone the Repo

git clone https://github.com/nervosnetwork/docs.git && \
cd docs && \
cd website

Install Dependencies

Install yarn.

In website folder:

yarn install

Preview the Site

In website folder:

yarn start

Then you should be able to preview the website at http://localhost:3000/ in your browser.

Build the Site

In website folder:

yarn build

The generated static files will be in website/build.

Deploy

Just serve the generated static files in website/build.

Docs

All the documents go into the docs folder. All the images should be in the docs/assets folder.

To add a document:

  • add the the document to docs
  • add header to the document (id and title is required)
  • add the path of the folder to the website/sidebars.json file

About

The old and deprecated Nervos CKB Documentation, see https://github.com/nervosnetwork/docs-new for the new one, kept here only for reference reasons.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published