2015-10-06 09:49:55 +02:00
|
|
|
|
|
|
|
Install notes
|
|
|
|
=============
|
|
|
|
|
|
|
|
~~~
|
2017-07-22 22:18:45 +02:00
|
|
|
npm install gitbook
|
|
|
|
sudo npm install gitbook-cli -g
|
2015-10-06 09:49:55 +02:00
|
|
|
npm install gitbook-plugin-autocover
|
2015-10-06 10:54:45 +02:00
|
|
|
npm install gitbook-plugin-github
|
2015-10-07 10:33:40 +02:00
|
|
|
npm install gitbook-plugin-toc
|
2016-04-18 10:35:24 +02:00
|
|
|
npm install gitbook-plugin-anchors
|
|
|
|
gitbook install
|
2015-10-06 09:49:55 +02:00
|
|
|
~~~
|
|
|
|
|
|
|
|
Usage
|
|
|
|
=====
|
|
|
|
|
|
|
|
If you want to generate the PDF output (you need to have Calibre installed):
|
|
|
|
|
|
|
|
~~~
|
|
|
|
gitbook pdf
|
|
|
|
~~~
|
|
|
|
|
|
|
|
and if you want to want to serve the HTML pages on 127.0.0.1:4000:
|
|
|
|
|
|
|
|
~~~
|
|
|
|
gitbook serve
|
|
|
|
~~~
|