Skip to content

Commit 6f4e1d1

Browse files
made commands clearer by seperating output filename option
1 parent 8708865 commit 6f4e1d1

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

README.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -132,10 +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. You need to have [ebook-convert](http://manual.calibre-ebook.com/cli/ebook-convert.html) installed.
136-
* Generate a **PDF** using: `gitbook pdf ./myrepo -o filename.pdf`
137-
* Generate a **ePub** using: `gitbook epub ./myrepo -o filename.pdf`
138-
* Generate a **MOBI** using: `gitbook mobi ./myrepo -o filename.pdf`
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`
139139
* **JSON**: This format is used for debugging or extracting metadata from a book. Generate this format using: ```gitbook build ./myrepo -f json```.
140140

141141
## Book Format

0 commit comments

Comments
 (0)