summaryrefslogtreecommitdiffstats
path: root/docs
diff options
context:
space:
mode:
authorSamy Pesse <samypesse@gmail.com>2016-05-01 16:15:19 +0200
committerSamy Pesse <samypesse@gmail.com>2016-05-01 16:15:19 +0200
commit5bac2fe695b6f56088c03c8144a05a8e0418ea50 (patch)
treee9fb6c6d4d7c90354a495c798e3059755aceb67e /docs
parent2c29fb241f36c490d8329e3578afb01eb31a14ae (diff)
downloadgitbook-5bac2fe695b6f56088c03c8144a05a8e0418ea50.zip
gitbook-5bac2fe695b6f56088c03c8144a05a8e0418ea50.tar.gz
gitbook-5bac2fe695b6f56088c03c8144a05a8e0418ea50.tar.bz2
Fix #1253: add instructions for generating ebook in docs
Diffstat (limited to 'docs')
-rw-r--r--docs/README.md2
-rw-r--r--docs/ebook.md11
2 files changed, 11 insertions, 2 deletions
diff --git a/docs/README.md b/docs/README.md
index 16917dd..d626231 100644
--- a/docs/README.md
+++ b/docs/README.md
@@ -1,7 +1,5 @@
# GitBook Toolchain Documentation
-![image](https://upload.wikimedia.org/wikipedia/commons/0/02/SVG_logo.svg)
-
This document aims to be a comprehensive guide to GitBook. It contains the full documentation for version **{{ book.version }}**. Help for GitBook.com specific questions can be found at [help.gitbook.com](https://help.gitbook.com).
### What is GitBook?
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).