For user

For developer

  1. confirm you are developing in develop branch

  2. download dependencies

    1. npm i
  3. download gitbook plugins

    1. npm run gitbook-install
  4. developing local

    1. npm run dev
  5. deploy github master

    1. npm run deploy

FAQ

how to add gitbook plugins

  1. modify book.json

    book.json

    1. {
    2. "plugins": [ "plugin-name" ]
    3. }
  2. install plugin

    1. ./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

  1. {% raw %}
  2. <video id="my-video" class="video-js" controls preload="auto">
  3. <source src="sd1434876536_2.mp4" type='video/mp4'>
  4. </video>
  5. {% endraw %}