Skip to content

Commit 5c98b33

Browse files
committed
Merge pull request GitbookIO#503 from jr0cket/ebook-command-fix
updated eBook generation commands - resolves GitbookIO#432
2 parents 897463b + 6f4e1d1 commit 5c98b33

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

README.md

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -132,7 +132,10 @@ You can publish your books to our index by visiting [GitBook.io](http://www.gitb
132132
GitBook can generate your book in the following formats:
133133

134134
* **Static Website**: This is the default format. It generates a complete interactive static website that can be, for example, hosted on GitHub Pages.
135-
* **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**.
135+
* **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.
136+
* Generate a **PDF** using: `gitbook pdf ./myrepo`
137+
* Generate a **ePub** using: `gitbook epub ./myrepo`
138+
* Generate a **MOBI** using: `gitbook mobi ./myrepo`
136139
* **JSON**: This format is used for debugging or extracting metadata from a book. Generate this format using: ```gitbook build ./myrepo -f json```.
137140

138141
## Book Format

0 commit comments

Comments
 (0)