Skip to content

Latest commit

 

History

History
31 lines (19 loc) · 908 Bytes

README.md

File metadata and controls

31 lines (19 loc) · 908 Bytes

gitbook-pdf

gitbook Docker image for Japanese environment.

git clone https://github.com/HWataru/gitbook-pdf.git

cd gitbook-pdf

# install dependencies
docker run --rm -v $(pwd)/sample:/book hwataru/gitbook-pdf gitbook install

# build pdf
docker run --rm -v $(pwd)/sample:/book hwataru/gitbook-pdf gitbook pdf

# build epub
docker run --rm -v $(pwd)/sample:/book hwataru/gitbook-pdf gitbook epub

# serve web page
docker run --rm -v $(pwd)/sample:/book -p 4000:4000 hwataru/gitbook-pdf gitbook serve

Installed Fonts

IPA font lisense https://ipafont.ipa.go.jp/ipa_font_license_v1-html#jp