Generating ePub and MOBI
Are you planning to automate the generation of ePub and MOBI ebooks soon?
It can already be done:
$ gitbook ebook ./myrepo ./test.epub
gitbook ebook ./myrepo ./test.mobi
It's not working for me.
What is it telling you?
Nothing.
What command did you exactly run?
gitbook ebook . ./book.epub
Maybe you meant gitbook epub? That works. (It still leaves the azw3 issue.)
you forgot 'build'. It's gitbook build ./ ./book.epub
and gitbook build ./ ./book.azw3 for azw3
Oh, you said ebook.
Thanks. :-)
Nope. It's just generating a website. (Exactly the commands you wrote.)
Ok sorry .... my bad...
This is it:
$ gitbook build ../ --output=./test.epub --format=ebook
It saves an index.epub in a directory named test.epub. Is there no way right now to change the directory name? (defaults to _book)