Skip to content

Commit c76a6b7

Browse files
committed
Tweak Gitbook config
1 parent ddbb1f6 commit c76a6b7

File tree

2 files changed

+4
-3
lines changed

2 files changed

+4
-3
lines changed

book.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
"plugins": ["edit-link"],
77
"pluginsConfig": {
88
"edit-link": {
9-
"base": "https://github.com/gaearon/redux/tree/master",
9+
"base": "https://github.com/rackt/redux/tree/master",
1010
"label": "Edit This Page"
1111
}
1212
}

package.json

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,8 +22,9 @@
2222
"postversion": "git push && git push --tags && npm run clean && npm run docs:publish",
2323
"prepublish": "npm run clean && npm run build",
2424
"docs:clean": "rimraf _book",
25-
"docs:build": "gitbook build -g rackt/redux",
26-
"docs:watch": "gitbook serve",
25+
"docs:prepare": "gitbook install",
26+
"docs:build": "npm run docs:prepare && gitbook build -g rackt/redux",
27+
"docs:watch": "npm run docs:prepare && gitbook serve",
2728
"docs:publish": "npm run docs:clean && npm run docs:build && cd _book && git init && git commit --allow-empty -m 'update book' && git checkout -b gh-pages && touch .nojekyll && git add . && git commit -am 'update book' && git push [email protected]:rackt/redux gh-pages --force"
2829
},
2930
"repository": {

0 commit comments

Comments
 (0)