Skip to content

jamcha-aa/gitbook-builder

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 

Repository files navigation

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.

Releases

No releases published

Packages

No packages published