summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSamy Pessé <samypesse@gmail.com>2014-11-22 16:41:19 +0100
committerSamy Pessé <samypesse@gmail.com>2014-11-22 16:41:19 +0100
commit5c98b3350b21f2eb1e78a94ec50702f7a07b0abd (patch)
tree03acca39e5509988ad387c6f41bafc17895d4822
parent897463b22ea9ea8045f39031f771320f9e000e64 (diff)
parent6f4e1d10c1bf5caf0b2072cd12d6e92038307044 (diff)
downloadgitbook-5c98b3350b21f2eb1e78a94ec50702f7a07b0abd.zip
gitbook-5c98b3350b21f2eb1e78a94ec50702f7a07b0abd.tar.gz
gitbook-5c98b3350b21f2eb1e78a94ec50702f7a07b0abd.tar.bz2
Merge pull request #503 from jr0cket/ebook-command-fix
updated eBook generation commands - resolves #432
-rw-r--r--README.md5
1 files changed, 4 insertions, 1 deletions
diff --git a/README.md b/README.md
index 43f35e9..584c04a 100644
--- a/README.md
+++ b/README.md
@@ -132,7 +132,10 @@ You can publish your books to our index by visiting [GitBook.io](http://www.gitb
GitBook can generate your book in the following formats:
* **Static Website**: This is the default format. It generates a complete interactive static website that can be, for example, hosted on GitHub Pages.
-* **eBook**: A complete eBook with exercise solutions at the end of the book. Generate this format using: ```gitbook ebook ./myrepo```. You need to have [ebook-convert](http://manual.calibre-ebook.com/cli/ebook-convert.html) installed. The output format could be **PDF**, **ePub** or **MOBI**.
+* **eBook**: A complete eBook with exercise solutions at the end of the book. You need to have [ebook-convert](http://manual.calibre-ebook.com/cli/ebook-convert.html) installed. You can specify the eBook filename with the `-o` option, otherwise `book` will be used.
+ * Generate a **PDF** using: `gitbook pdf ./myrepo`
+ * Generate a **ePub** using: `gitbook epub ./myrepo`
+ * Generate a **MOBI** using: `gitbook mobi ./myrepo`
* **JSON**: This format is used for debugging or extracting metadata from a book. Generate this format using: ```gitbook build ./myrepo -f json```.
## Book Format