1. Update .gitignore with gitbook official one 2. Add gitbook building support in Makefile 3. Add a tock build script: tools/build-toc.sh 4. Insert the table of content for every page, it is very useful for such long articles. Signed-off-by: Wu Zhangjin <wuzhangjin@gmail.com>
34 lines
505 B
Plaintext
34 lines
505 B
Plaintext
kaiyuanbook.*
|
|
*.pdf
|
|
*.swp
|
|
*.aux
|
|
*.log
|
|
*.html
|
|
latex/*
|
|
!latex/makepdf
|
|
!latex/README
|
|
!latex/template.tex
|
|
!latex/config.yml
|
|
epub/temp
|
|
*~
|
|
.#*
|
|
*.epub
|
|
|
|
# Node rules:
|
|
## Grunt intermediate storage (http://gruntjs.com/creating-plugins#storing-task-files)
|
|
.grunt
|
|
|
|
## Dependency directory
|
|
## Commenting this out is preferred by some people, see
|
|
## https://docs.npmjs.com/misc/faq#should-i-check-my-node_modules-folder-into-git
|
|
node_modules
|
|
|
|
# Book build output
|
|
_book
|
|
|
|
# eBook build output
|
|
*.epub
|
|
*.mobi
|
|
*.pdf
|
|
*.html
|