Skip to content

Commit bb53b08

Browse files
authored
Update text from Gitbook to Honkit (#89)
1 parent 113cc41 commit bb53b08

File tree

5 files changed

+26
-8
lines changed

5 files changed

+26
-8
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/

Makefile

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
1-
# https://toolchain.gitbook.com/setup.html
1+
# https://github.com/honkit/honkit
22
setup:
3-
npm install gitbook-cli -g
3+
npm install honkit --save-dev
44

55
serve:
6-
gitbook serve
6+
npx honkit serve

about.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,8 @@ For the ninth draft, I switched to [AsciiDoc format](http://asciidoctor.org/docs
3030

3131
For the tenth draft, I switched to writing in Markdown + [GitBook](https://www.gitbook.com) format, using the [Spacemacs editor](http://spacemacs.org).
3232

33+
Nov 2020: Since Gitbook abandoned their open source software, migrated to [Honkit, a community-maintained fork of Gitbook legacy](https://github.com/honkit/honkit).
34+
3335
## About the Author
3436

3537
See {{ book.authorUrl }}

revision_history.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,10 @@ The book needs the help of its readers such as yourselves to point out any parts
1616

1717
# Appendix: Revision History {#revision-history}
1818

19+
- No version change
20+
- 06 Nov 2020
21+
- Migrated from abandoned GitBook to [community-maintained Honkit, a fork of GitBook legacy](https://github.com/honkit/honkit)
22+
1923
- 4.0
2024
- 19 Jan 2016
2125
- Switched back to Python 3

translation_howto.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,6 @@
33
1. The full source of the book is available from {{ book.sourceUrl }}.
44
2. Please [fork the repository](https://help.github.com/articles/fork-a-repo).
55
3. Then, fetch the repository to your computer. You need to know how to use [Git](http://www.git-scm.com) to do that.
6-
4. Read the [GitBook documentation](https://docs.gitbook.com), esp. the [Markdown section](https://docs.gitbook.com/editing-content/markdown).
6+
4. Read the [Honkit documentation](https://honkit.netlify.app), esp. the [Markdown section](https://honkit.netlify.app/syntax/markdown.html).
77
5. Start editing the `.md` files to translate to your local language.
8-
6. [Sign up on GitBook.com](https://www.gitbook.com), create a book and you can see a beautifully rendered website, with links to download PDF, EPUB, etc.
8+
6. See [INSTALL.md](./INSTALL.md) on how to generate the website, PDF, EPUB.

0 commit comments

Comments
 (0)