UNPKG

351 Bapplication/x-shView Raw
1#!/bin/bash
2
3## get into the "build_scripts" folder regardless of the excution directory
4parent_path=$( cd "$(dirname "${BASH_SOURCE[0]}")" ; pwd -P )
5cd "$parent_path/.."
6
7## compile the doc
8node ./build_scripts/prebuild-doc.js
9gitbook build ./docs-src ./docs
10
11## push the doc into github
12git add ./docs
13git commit -m 'building docs'
14git push origin