File tree Expand file tree Collapse file tree 1 file changed +6
-1
lines changed
Expand file tree Collapse file tree 1 file changed +6
-1
lines changed Original file line number Diff line number Diff line change 1515
1616### 本地编译
1717
18+ 确保你的系统中有` xdg-utils ` 、` wget ` 、` xz-utils ` 和` python2.6+ ` 以安装[ Calibre] [ ID_CALIBRE ] 。[ GitBook] [ ID_GITBOOK ] 需要此软件进行PDF、EPUB和MOBI的格式转换。
19+
1820```
21+ $ sudo -v && wget -nv -O- https://download.calibre-ebook.com/linux-installer.sh | sudo sh /dev/stdin
22+ $ sudo npm install -g @0y0/gitbook-cli
1923$ git clone https://github.com/slackwarecn/slackbook_cn
2024$ cd slackbook_cn
2125$ make all
2226```
2327
24- > 使用 [ GitBook ] [ ID_GITBOOK ] 本地编译需要安装 [ Calibre ] [ ID_CALIBRE ] 以提供PDF、EPUB和MOBI的转换工具 。
28+ > 因为GitBook官方已经 [ 不再支持CLI ] [ ID_GITBOOK_DEPRECATION ] ,所以这里使用了非官方维护的版本 。
2529
2630### 贡献力量
2731
@@ -33,5 +37,6 @@ $ make all
3337[ ID_ONLINE ] : https://slackwarecn.gitbook.io/slackbook_cn " 阅读在线版本 "
3438[ ID_RELEASES ] : https://github.com/slackwarecn/slackbook_cn/releases " 查看已发布文档 "
3539[ ID_GITBOOK ] : https://github.com/GitbookIO/gitbook " Gitbook项目主页 "
40+ [ ID_GITBOOK_DEPRECATION ] : https://github.com/GitbookIO/gitbook#%EF%B8%8F-deprecation-warning " 查看GitBook官方不再支持CLI公告 "
3641[ ID_CALIBRE ] : https://github.com/kovidgoyal/calibre/releases " 点此获取Calibre "
3742
You can’t perform that action at this time.
0 commit comments