Skip to content

Commit 2280fec

Browse files
authored
Merge pull request #1891 from reactjs/booking-it
Update Gitbook version
2 parents 2a1f4c3 + 9e282de commit 2280fec

File tree

4 files changed

+19
-6
lines changed

4 files changed

+19
-6
lines changed

SUMMARY.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
docs/README.md

book.json

Lines changed: 8 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,20 @@
11
{
2-
"gitbook": "2.4.3",
2+
"gitbook": "3.x.x",
33
"title": "Redux",
4-
"structure": {
5-
"summary": "docs/README.md"
6-
},
7-
"plugins": ["edit-link", "prism", "-highlight", "github", "anker-enable"],
4+
"plugins": ["edit-link", "prism", "-highlight", "github", "anchorjs"],
85
"pluginsConfig": {
96
"edit-link": {
107
"base": "https://github.com/reactjs/redux/tree/master",
118
"label": "Edit This Page"
129
},
1310
"github": {
1411
"url": "https://github.com/reactjs/redux/"
12+
},
13+
"theme-default": {
14+
"showLevel": true,
15+
"styles": {
16+
"website": "build/gitbook.css"
17+
}
1518
}
1619
}
1720
}

build/gitbook.css

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
.book-summary ul.summary li span {
2+
cursor: not-allowed;
3+
opacity: 0.3;
4+
}
5+
6+
.book-summary ul.summary li a:hover {
7+
color: #008cff;
8+
text-decoration: none;
9+
}

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -102,7 +102,7 @@
102102
"eslint-config-rackt": "^1.1.1",
103103
"eslint-plugin-react": "^3.16.1",
104104
"expect": "^1.8.0",
105-
"gitbook-cli": "^0.3.4",
105+
"gitbook-cli": "^2.3.0",
106106
"glob": "^6.0.4",
107107
"isparta": "^4.0.0",
108108
"mocha": "^2.2.5",

0 commit comments

Comments
 (0)