説明なし

Bachir Soussi Chiadmi fa345db108 readme, added osp 7 年 前
assets c4c954e4e8 added .story-page page-break, improved ui document selection 7 年 前
bin d9d3bf9f43 refactored for one-repos use and updated readme 7 年 前
templates 94016fcf87 added web server and sync.sh as default starting task to gulpfile 7 年 前
.gitignore d9d3bf9f43 refactored for one-repos use and updated readme 7 年 前
LICENSE 2ad8fea86c first draft 7 年 前
README.md fa345db108 readme, added osp 7 年 前
gulpfile.js 94016fcf87 added web server and sync.sh as default starting task to gulpfile 7 年 前
index.html d9d3bf9f43 refactored for one-repos use and updated readme 7 年 前
package.json 94016fcf87 added web server and sync.sh as default starting task to gulpfile 7 年 前
server 6366f20dcb re_integrated html2print boilerplate from osp 7 年 前

README.md

HTML2PRINT with gitbook content management

Book src

bin/sync.sh will pull books from git repositories listed in the the script

source are in the directory book-src

Building

bin/build.py will read the book sources and convert them to html files using pandoc (pypandoc)

Automation

gulp is watching assets files to convert scss to css and then rebuild html pages gulp is also runing once on launch a webserver accessible a localhost:8000 and the bin/sync script

dependencies

  • nodejs
  • python3
  • css-region compatible web browser (webkit)

use

  • clone this repos
  • run npm install
  • sync : configure the git repository url of md book in bin/sync
  • run gulp from terminal
  • configure book's main properties in assets/css/setup.scss and assets/js/setup.js
  • access to your book at localhost:8000 from a css-region-compatible webbrowser
  • start to design your book with assets/css/styles.css
  • it's also possible to add any dynamic javascript formatting with assets/js/script.js

thanks to osp for their html2print boilerplate