diff options
author | Samy Pesse <samypesse@gmail.com> | 2016-05-01 16:15:19 +0200 |
---|---|---|
committer | Samy Pesse <samypesse@gmail.com> | 2016-05-01 16:15:19 +0200 |
commit | 5bac2fe695b6f56088c03c8144a05a8e0418ea50 (patch) | |
tree | e9fb6c6d4d7c90354a495c798e3059755aceb67e /docs/ebook.md | |
parent | 2c29fb241f36c490d8329e3578afb01eb31a14ae (diff) | |
download | gitbook-5bac2fe695b6f56088c03c8144a05a8e0418ea50.zip gitbook-5bac2fe695b6f56088c03c8144a05a8e0418ea50.tar.gz gitbook-5bac2fe695b6f56088c03c8144a05a8e0418ea50.tar.bz2 |
Fix #1253: add instructions for generating ebook in docs
Diffstat (limited to 'docs/ebook.md')
-rw-r--r-- | docs/ebook.md | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/docs/ebook.md b/docs/ebook.md index 58a0d9b..6230488 100644 --- a/docs/ebook.md +++ b/docs/ebook.md @@ -2,6 +2,17 @@ GitBook can generates a website, but can also output content as ebook (ePub, Mobi, PDF). +``` +# Generate a PDF file +$ gitbook pdf ./ ./mybook.pdf + +# Generate an ePub file +$ gitbook epub ./ ./mybook.epub + +# Generate a Mobi file +$ gitbook mobi ./ ./mybook.mobi +``` + ### Installing ebook-convert `ebook-convert` is required to generate ebooks (epub, mobi, pdf). |