最新消息:20210816 当前crifan.com域名已被污染,为防止失联,请关注(页面右下角的)公众号

【记录】把http_summary的gitbook上传到二级域名book.crifan.com中

crifan.com crifan 3088浏览 0评论

折腾了:

【记录】给Gitbook添加更多配置和功能

和:

【已解决】Linode的CentOS的LNMP中添加二级域名book.crifan.com

后,继续去把本地编译好的gitbook,上传到二级域名中。

先去本地编译好:

  htttp_summary git:(master) gitbook build . output/website

info: 31 plugins are installed

info: 18 explicitly listed

info: loading plugin “search-plus”… OK

info: loading plugin “disqus”… OK

info: loading plugin “prism”… OK

info: loading plugin “prism-themes”… OK

info: loading plugin “github-buttons”… OK

info: loading plugin “splitter”… OK

info: loading plugin “sharing-plus”… OK

info: loading plugin “tbfed-pagefooter”… OK

info: loading plugin “expandable-chapters-small”… OK

info: loading plugin “ga”… OK

info: loading plugin “donate”… OK

info: loading plugin “sitemap-general”… OK

info: loading plugin “copy-code-button”… OK

info: loading plugin “alerts”… OK

info: loading plugin “download-pdf-link”… OK

info: loading plugin “fontsettings”… OK

info: loading plugin “theme-comscore”… OK

info: loading plugin “theme-default”… OK

info: found 19 pages

info: found 27 asset files

warn: “options” property is deprecated, use config.get(key) instead

warn: “options.generator” property is deprecated, use “output.name” instead

init!

finish!

info: >> generation finished with success in 2.7s !

➜  htttp_summary git:(master) gitbook pdf . output/pdf/http_summary.pdf

info: 31 plugins are installed

info: 18 explicitly listed

info: loading plugin “search-plus”… OK

info: loading plugin “disqus”… OK

info: loading plugin “prism”… OK

info: loading plugin “prism-themes”… OK

info: loading plugin “github-buttons”… OK

info: loading plugin “splitter”… OK

info: loading plugin “sharing-plus”… OK

info: loading plugin “tbfed-pagefooter”… OK

info: loading plugin “expandable-chapters-small”… OK

info: loading plugin “ga”… OK

info: loading plugin “donate”… OK

info: loading plugin “sitemap-general”… OK

info: loading plugin “copy-code-button”… OK

info: loading plugin “alerts”… OK

info: loading plugin “download-pdf-link”… OK

info: loading plugin “fontsettings”… OK

info: loading plugin “theme-comscore”… OK

info: loading plugin “theme-default”… OK

info: found 19 pages

info: found 27 asset files

warn: “options” property is deprecated, use config.get(key) instead

warn: “options.generator” property is deprecated, use “output.name” instead

init!

finish!

info: >> generation finished with success in 15.7s !

info: >> 1 file(s) generated

➜  htttp_summary git:(master) gitbook epub . output/epub/http_summary.epub

info: 31 plugins are installed

info: 18 explicitly listed

info: loading plugin “search-plus”… OK

info: loading plugin “disqus”… OK

info: loading plugin “prism”… OK

info: loading plugin “prism-themes”… OK

info: loading plugin “github-buttons”… OK

info: loading plugin “splitter”… OK

info: loading plugin “sharing-plus”… OK

info: loading plugin “tbfed-pagefooter”… OK

info: loading plugin “expandable-chapters-small”… OK

info: loading plugin “ga”… OK

info: loading plugin “donate”… OK

info: loading plugin “sitemap-general”… OK

info: loading plugin “copy-code-button”… OK

info: loading plugin “alerts”… OK

info: loading plugin “download-pdf-link”… OK

info: loading plugin “fontsettings”… OK

info: loading plugin “theme-comscore”… OK

info: loading plugin “theme-default”… OK

info: found 19 pages

info: found 27 asset files

warn: “options” property is deprecated, use config.get(key) instead

warn: “options.generator” property is deprecated, use “output.name” instead

init!

finish!

info: >> generation finished with success in 8.6s !

info: >> 1 file(s) generated

➜  htttp_summary git:(master) gitbook mobi . output/mobi/http_summary.mobi

info: 31 plugins are installed

info: 18 explicitly listed

info: loading plugin “search-plus”… OK

info: loading plugin “disqus”… OK

info: loading plugin “prism”… OK

info: loading plugin “prism-themes”… OK

info: loading plugin “github-buttons”… OK

info: loading plugin “splitter”… OK

info: loading plugin “sharing-plus”… OK

info: loading plugin “tbfed-pagefooter”… OK

info: loading plugin “expandable-chapters-small”… OK

info: loading plugin “ga”… OK

info: loading plugin “donate”… OK

info: loading plugin “sitemap-general”… OK

info: loading plugin “copy-code-button”… OK

info: loading plugin “alerts”… OK

info: loading plugin “download-pdf-link”… OK

info: loading plugin “fontsettings”… OK

info: loading plugin “theme-comscore”… OK

info: loading plugin “theme-default”… OK

info: found 19 pages

info: found 27 asset files

warn: “options” property is deprecated, use config.get(key) instead

warn: “options.generator” property is deprecated, use “output.name” instead

init!

finish!

info: >> generation finished with success in 14.5s !

info: >> 1 file(s) generated

本地内容:

然后上传上去:

然后去看看

http://book.crifan.com/books/http_summary/website/

的效果还是可以的:

转载请注明:在路上 » 【记录】把http_summary的gitbook上传到二级域名book.crifan.com中

发表我的评论
取消评论

表情

Hi,您需要填写昵称和邮箱!

  • 昵称 (必填)
  • 邮箱 (必填)
  • 网址
82 queries in 0.325 seconds, using 22.07MB memory