Skip to content

Commit cb7309e

Browse files
committed
docs: Add gitbook files
1 parent 43d321c commit cb7309e

File tree

5 files changed

+24
-0
lines changed

5 files changed

+24
-0
lines changed

.gitignore

+1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
.DS_Store
22
node_modules/
33
coverage/
4+
docs/_book/
45
npm-debug.log
56
selenium-debug.log
67
test/unit/coverage

docs/README.md

+1
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
# vue-form-generator

docs/SUMMARY.md

+1
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
# Summary

docs/book.json

+19
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
{
2+
"gitbook": "2.x.x",
3+
"plugins": ["edit-link", "github", "advanced-emoji"],
4+
"pluginsConfig": {
5+
"edit-link": {
6+
"base": "https://github.com/icebob/vue-form-generator/tree/master/docs",
7+
"label": "Edit This Page"
8+
},
9+
"github": {
10+
"url": "https://github.com/icebob/vue-form-generator/"
11+
}
12+
},
13+
"links": {
14+
"sharing": {
15+
"facebook": false,
16+
"twitter": false
17+
}
18+
}
19+
}

package.json

+2
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@
1010
"lint": "eslint --ext=.js,.vue src",
1111
"coverall": "karma start test/unit/karma.conf.js --single-run --reporters coverage,coveralls",
1212
"changelog": "conventional-changelog -i CHANGELOG.md -s",
13+
"docs": "cd docs && gitbook serve",
1314
"unit": "karma start test/unit/karma.conf.js",
1415
"e2e": "node test/e2e/runner.js",
1516
"test": "npm run unit",
@@ -52,6 +53,7 @@
5253
"eslint-plugin-vue": "0.1.1",
5354
"faker": "3.1.0",
5455
"git-commit-message-convention": "git://github.com/kazupon/git-commit-message-convention.git#065dfffbe2de5f6f16150aac9d4db7fdf5515e56",
56+
"gitbook-cli": "2.1.3",
5557
"inject-loader": "2.0.1",
5658
"isparta-loader": "2.0.0",
5759
"jade": "1.11.0",

0 commit comments

Comments
 (0)