diff options
author | John Stevenson <john@jr0cket.co.uk> | 2014-11-22 11:26:08 +0000 |
---|---|---|
committer | John Stevenson <john@jr0cket.co.uk> | 2014-11-22 11:26:08 +0000 |
commit | 870886599aa7752535994992d2c6eec63f249963 (patch) | |
tree | 40fcb7677d28e6debdad4c01f6f65d782d1c9bca /README.md | |
parent | 897463b22ea9ea8045f39031f771320f9e000e64 (diff) | |
download | gitbook-870886599aa7752535994992d2c6eec63f249963.zip gitbook-870886599aa7752535994992d2c6eec63f249963.tar.gz gitbook-870886599aa7752535994992d2c6eec63f249963.tar.bz2 |
updated eBook generation commands
Diffstat (limited to 'README.md')
-rw-r--r-- | README.md | 5 |
1 files changed, 4 insertions, 1 deletions
@@ -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. + * 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` * **JSON**: This format is used for debugging or extracting metadata from a book. Generate this format using: ```gitbook build ./myrepo -f json```. ## Book Format |