部署
环境搭建
可使用国内镜像 https://npm.taobao.org/
# 安装全局 gitbook,root 用户执行
npm install gitbook-cli -g
# 安装本地模块
npm install
# 安装 gitbook 模块
gitbook install
更新文档
git pull
gitbook build
rm -rf _book_cache
cp -r _book _book_cache
转载请注明:谷谷点程序 » 利用gitbook生成HTMl文档