QICI Engine Documentation is created by GitBook using Markdown.
You can read QICI Engine Documentation online:
Here we use npm-run-script to install GitBook environment and convert Markdown to html.
For English Documentation:
npm run install-en
npm run init-en
npm run build-api-en
npm run build-manual-en
For Chinese Documentation:
npm run install-zh
npm run init-zh
npm run build-api-zh
npm run build-manual-zh
The commands above are defined in package.json
"scripts": {
"install-zh": "npm install gitbook-cli && gitbook install zh/api && gitbook install zh/manual",
"install-en": "npm install gitbook-cli && gitbook install en/api && gitbook install en/manual",
"init-zh": "gitbook init zh/api && gitbook init zh/manual",
"init-en": "gitbook init en/api && gitbook init en/manual",
"build-api-zh": "gitbook serve zh/api",
"build-manual-zh": "gitbook serve zh/manual",
"build-api-en": "gitbook serve en/api",
"build-manual-en": "gitbook serve en/manual"
}