使用CommandBox GitBook Exporter 第三种方式就是使用forgebox的GitBook Exporter工具了。 方法如下: 安装CommandBox brew install commandbox 在box中安装gitbook-exporter box install gitbook-exporter 在gitbook 控制页面台中,导出你要生成的gitbook的信息: Advanced->Danger Zone->Export 导出PDF和html CommandBox> gitbook export sourcePath