Skip to content

Latest commit

 

History

History
44 lines (29 loc) · 954 Bytes

README.md

File metadata and controls

44 lines (29 loc) · 954 Bytes

gitbook-builder

gitbook-builder is a simple package that exports GitBook documents. If you are annoying repetitive shell executions, try this.

Requirements

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.

Install

;; auto-install
(auto-install-from-url "https://raw.github.com/jamcha-aa/gitbook-builder/master/gitbook-builder.el")

.emacs.d/init.el

(require 'gitbook-builder)

Usage

  • 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.

License

This program is licensed under GPL 3.