-
首先需要安装
npm
,安装方法请自行搜索 -
安装所需依赖并执行
> npm install gitbook-cli -g > sudo apt-get install calibre > gitbook pdf <source_path> <target_path>
-
RuntimeError: X server required. If you are running on a headless machine, use xvfb
如果遇到这个问题,说明是在非桌面系统中运行转换过程,解决方法如下:> apt-get update &&
在 Ubuntu Server 上通过 gitbook 生成 PDF
最新推荐文章于 2023-12-06 14:10:36 发布