-
confirm you are developing in develop branch
-
download dependencies
npm i
-
download gitbook plugins
npm run gitbook-install
-
developing local
npm run dev
-
deploy github master
npm run deploy
how to add gitbook plugins
- modify book.json
book.json
{
"plugins": [ "plugin-name" ]
}
- install plugin
./node_modules/.bin/gitbook install
```
**plugin `local-video` is already built-in**
You can include the Video.js markup where you want it using raw GitBook tags
```javascript
{% raw %}
<video id="my-video" class="video-js" controls preload="auto">
<source src="sd1434876536_2.mp4" type='video/mp4'>
</video>
{% endraw %}