-
Notifications
You must be signed in to change notification settings - Fork 1.1k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
1 changed file
with
15 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,18 @@ | ||
``` | ||
npm install -g gitbook-cli | ||
gitbook serve | ||
# install honkit | ||
npm install honkit --save-dev | ||
# show website running locally | ||
npx honkit serve | ||
# generate website files | ||
npx honkit build . public --log=debug | ||
# generate pdf | ||
npx honkit pdf . byte-of-python.pdf | ||
# generate epub | ||
npx honkit epub . byte-of-python.epub | ||
``` | ||
|
||
See http://toolchain.gitbook.com/ebook.html | ||
See https://github.com/honkit/honkit and https://honkit.netlify.app/ |