npm install gitbook-cli -g

gitbook ls :列出本地安装版本;

gitbook current :列出当前使用版本;

gitbook ls-remote :列出远程可使用版本;

gitbook fetch 2.6.9 :安装2.6.9版本;

gitbook uninstall 2.6.9 :卸载指定版本;

gitbook update 2.6.9 :更新到指定版本,没有指定版本则到最新;

gitbook install :安装当前项目所需插件;

gitbook build :构建成Html文件,默认在_book目录下;

gitbook serve:启动服务;

gitbook pdf :输出pdf电子书;

gitbook epub:输出epub电子书;

gitbook mobi :输出mobi电子书;

相关文章:

  • 2021-08-21
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2021-05-25
猜你喜欢
  • 2022-12-23
  • 2022-12-23
  • 2021-11-14
  • 2022-12-23
  • 2021-07-10
  • 2021-09-26
  • 2021-09-23
相关资源
相似解决方案