add link to summary

also update doc:build script to build the site
This commit is contained in:
砚然
2018-01-07 21:34:32 +08:00
parent d7e68caea9
commit 01dba5fc92
17 changed files with 223 additions and 120 deletions

14
build_scripts/build-doc-site.sh Executable file
View File

@@ -0,0 +1,14 @@
#!/bin/bash
## get into the "build_scripts" folder regardless of the excution directory
parent_path=$( cd "$(dirname "${BASH_SOURCE[0]}")" ; pwd -P )
cd "$parent_path/.."
## compile the doc
node ./build_scripts/prebuild-doc.js
gitbook build ./docs-src ./docs
## push the doc into github
git add ./docs
git commit -m 'building docs'
git push origin