summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJohn Stevenson <john@jr0cket.co.uk>2014-11-22 14:47:12 +0000
committerJohn Stevenson <john@jr0cket.co.uk>2014-11-22 14:47:12 +0000
commit6f4e1d10c1bf5caf0b2072cd12d6e92038307044 (patch)
tree03acca39e5509988ad387c6f41bafc17895d4822
parent870886599aa7752535994992d2c6eec63f249963 (diff)
downloadgitbook-6f4e1d10c1bf5caf0b2072cd12d6e92038307044.zip
gitbook-6f4e1d10c1bf5caf0b2072cd12d6e92038307044.tar.gz
gitbook-6f4e1d10c1bf5caf0b2072cd12d6e92038307044.tar.bz2
made commands clearer by seperating output filename option
-rw-r--r--README.md8
1 files changed, 4 insertions, 4 deletions
diff --git a/README.md b/README.md
index 03f6a90..584c04a 100644
--- a/README.md
+++ b/README.md
@@ -132,10 +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. You need to have [ebook-convert](http://manual.calibre-ebook.com/cli/ebook-convert.html) installed.
- * Generate a **PDF** using: `gitbook pdf ./myrepo -o filename.pdf`
- * Generate a **ePub** using: `gitbook epub ./myrepo -o filename.pdf`
- * Generate a **MOBI** using: `gitbook mobi ./myrepo -o filename.pdf`
+* **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