GitBook tutorial
运行
gitbook --port 4001 --lrport 35730 serve再访问
教程 http://www.chengweiyang.cn/gitbook/basic-usage/README.html
安装
macos:
brew update
brew install node
npm install gitbook-cli -g使用
1. gitbook init 生成文件
gitbook init 生成文件README.md
SUMMARY.md2. 修改summary用来定义目录
修改完summary之后
会重新生成目录树,和对应的md文件
3. 运行服务器
4. 多端口
https://huataihuang.gitbooks.io/cloud-atlas/develop/doc/gitbook/run_multi_gitbook_in_one_host.html
运行
再访问
5. win10不能热加载
即启动服务后立即删除 _book 目录
Last updated
Was this helpful?