diff options
Diffstat (limited to 'docs')
-rw-r--r-- | docs/README.md | 2 | ||||
-rw-r--r-- | docs/ebook.md | 11 |
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 - - 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). |