diff --git a/.esdoc.json b/.esdoc.json
index 8b01ef5..6a9bd95 100644
--- a/.esdoc.json
+++ b/.esdoc.json
@@ -20,9 +20,10 @@
"manual": {
"index": "./README.md",
"globalIndex": true,
- "asset": "./docsrc/manual/asset",
+ "asset": "./ghpages/assets/",
"files": [
- "./docsrc/CHANGELOG.md"
+ "./README.md",
+ "./CHANGELOG.md"
]
}
}
diff --git a/docsrc/CHANGELOG.md b/CHANGELOG.md
similarity index 94%
rename from docsrc/CHANGELOG.md
rename to CHANGELOG.md
index 5eb5731..e723650 100644
--- a/docsrc/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -1,8 +1,17 @@
+
+# Unreleased (2018-02-15)
+
+* docs: add git module of ghpages ([8492034](https://github.com/xiazeyu/live2d-widget.js/commit/8492034))
+* docs: ghpages ([103b1dc](https://github.com/xiazeyu/live2d-widget.js/commit/103b1dc))
+
+
+
## 3.0.4 (2018-02-07)
-* 3.0.4 ([d71c60b](https://github.com/xiazeyu/live2d-widget.js/commit/d71c60b))
* docs: migrate documents to live2d-widget.js-doc ([90b9894](https://github.com/xiazeyu/live2d-widget.js/commit/90b9894))
+* docs: update CHANGELOG ([9ae492e](https://github.com/xiazeyu/live2d-widget.js/commit/9ae492e))
+* 3.0.4 ([d71c60b](https://github.com/xiazeyu/live2d-widget.js/commit/d71c60b))
* build: remove lib from github, rename output file ([efc0f53](https://github.com/xiazeyu/live2d-widget.js/commit/efc0f53))
* build(entry): add entry point in package.json ([b7240fb](https://github.com/xiazeyu/live2d-widget.js/commit/b7240fb))
diff --git a/ghpages b/ghpages
index e0e51e7..785d3eb 160000
--- a/ghpages
+++ b/ghpages
@@ -1 +1 @@
-Subproject commit e0e51e7feb7e119c720ad5aeaa7339caa8927e1b
+Subproject commit 785d3eb5b6706adf6fb9bd18f53f06f1466e6fe2
diff --git a/package.json b/package.json
index 1294a55..bce3298 100644
--- a/package.json
+++ b/package.json
@@ -4,13 +4,14 @@
"main": "./src",
"description": "Add the Sseexxyyy live2d to webpages.",
"scripts": {
- "inst:dev": "npm install -g commitizen&&npm install",
+ "inst:dev": "npm install -g commitizen&npm install",
"build:dev": "webpack --progress --colors",
"build:prod": "webpack --env prod --progress --colors",
- "build:doc": "./node_modules/.bin/esdoc",
- "commit": "git pull&&git-cz",
- "_changelog": "./node_modules/.bin/conventional-changelog -i docsrc/CHANGELOG.md -r 0 -s -u",
- "changelog": "git pull&&npm run _changelog&&git add docsrc/CHANGELOG.md",
+ "build:docs": "git pull&npm run _changelog&git add CHANGELOG.md&npm run deploy:doc&git add ghpages",
+ "deploy:doc": "npm run _esdoc&cd ghpages/&git status&git add *&git commit -m \"Update docs\"&git push",
+ "_esdoc": "./node_modules/.bin/esdoc",
+ "_changelog": "./node_modules/.bin/conventional-changelog -i CHANGELOG.md -r 0 -s -u",
+ "commit": "git pull&git-cz",
"v:major": "npm version major",
"v:pmajor": "npm version premajor",
"v:minor": "npm version minor",