- Set up
node.js
env
sudo apt-get install nodejs npm
- Install Gitbook
sudo npm install -g gitbook-cli
export PATH=$PATH:/opt/node/bin
- Clone your
Gitbook
project fromGithub
git clone your_github_project_address
cd your_github_project_address
- Install necessary gitbook plugins
gitbook install ./
-
Build and View
orOutput as pdf
gitbook build .
gitbook serve .
gitbook pdf .
网友评论