Skip to content

ant-tool/ant-tool.github.io

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

56 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

For user

For developer

  1. confirm you are developing in develop branch

  2. download dependencies

    npm i
  3. download gitbook plugins

npm run gitbook-install
  1. developing local

    npm run dev
  2. deploy github master

    npm run deploy

FAQ

how to add gitbook plugins

  1. modify book.json

book.json

{
  "plugins": [ "plugin-name" ]
}
  1. 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 %}