README
GitbookGeneral2021-03-06
Introduction
- productivity
- business agility
- scalability
- availability
- utilization
- and cost savings
- time to market, cost
gitbook init
InitializationREADME.md
andSUMMARY.md
Two files.gitbook build
Build locally but do not run the service, default output to_book/
Catalog.gitbook serve
Build and run the service locally, accessed by defaulthttp://localhost:4000
Real-time preview.
mkdir gitbook && cd
gitbook init
gitbook build
gitbook serve
tree _book/
π 3 ways to generate e-books
gitbookThere are three main ways to generate e-books:
gitbook-cli
Command line operation, concise and efficient, suitable for people engaged in software development.gitbook-editor
Editor operation, visual editing, suitable for literary creators without programming experience.gitbook.com
Official website operation, online editing and real-time publishing, suitable for users who have no local environment and access to the Internet scientifically.
π gitbook 5 default plugins
- highlight
- search
- sharing
- font-settings
- livereload
π Git
π gitbook quick start
$ gitbook init
$ gitbook build
$ gitbook serve
$ open localhost:4000
π Integration
-
Integration with App:
$ gitbook build $ mv _book ../client/public/gitbook (or ln -s)
Create a link (component) to refer to itοΌ
<Link to="_book">gitbook</Link>
- Integration with Nginx as a proxy, config
nginx.conf
.