gitbook-builder is a simple package that exports GitBook documents. If you are annoying repetitive shell executions, try this.
This package requires Node.js and GitBook.
-
Debian/Ubuntu
$ sudo apt install npm $ sudo npm install gitbook-cli -g
-
Mac
$ npm install gitbook-cli -g $ source ~/.bashrc
For details, see Setup and Installation of GitBook.
;; auto-install
(auto-install-from-url "https://raw.github.com/jamcha-aa/gitbook-builder/master/gitbook-builder.el")
(require 'gitbook-builder)
- M-x gitbook-builder outputs GitBook htmls into _book.
- M-x gitbook-github outputs GitBook htmls into docs. This function is useful when you publish your documents on GitHub Pages.
This program is licensed under GPL 3.