Skip to content

Commit 6e17098

Browse files
authored
Update INSTALL.md
1 parent c3c460d commit 6e17098

File tree

1 file changed

+15
-3
lines changed

1 file changed

+15
-3
lines changed

INSTALL.md

Lines changed: 15 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,18 @@
11
```
2-
npm install -g gitbook-cli
3-
gitbook serve
2+
# install honkit
3+
npm install honkit --save-dev
4+
5+
# show website running locally
6+
npx honkit serve
7+
8+
# generate website files
9+
npx honkit build . public --log=debug
10+
11+
# generate pdf
12+
npx honkit pdf . byte-of-python.pdf
13+
14+
# generate epub
15+
npx honkit epub . byte-of-python.epub
416
```
517

6-
See http://toolchain.gitbook.com/ebook.html
18+
See https://github.com/honkit/honkit and https://honkit.netlify.app/

0 commit comments

Comments
 (0)