Skip to content

Commit 8f88150

Browse files
committed
chore(gitbook): add some plugins
1 parent d070ccc commit 8f88150

File tree

1 file changed

+28
-3
lines changed

1 file changed

+28
-3
lines changed

book.json

Lines changed: 28 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,34 @@
11
{
22
"root": "./book",
3-
"title": "React in patterns",
4-
"description": "A book about common design patterns used while developing with React.",
5-
"author": "Krasimir Tsonev",
3+
"title": "React 模式",
4+
"description": "介绍 React 开发的设计模式和技术的免费开源书籍",
5+
"author": "SangKa",
66
"gitbook": "3.2.3",
7+
"plugins": ["github", "edit-link", "copy-code-button", "github-buttons"],
8+
"pluginsConfig": {
9+
"github": {
10+
"url": "https://github.com/SangKa/react-in-patterns-cn"
11+
},
12+
"edit-link": {
13+
"base": "https://github.com/SangKa/react-in-patterns-cn/tree/master/book",
14+
"label": "帮忙纠错"
15+
},
16+
"github-buttons": {
17+
"buttons": [{
18+
"user" : "SangKa",
19+
"repo" : "react-in-patterns-cn",
20+
"type" : "fork",
21+
"size" : "small",
22+
"count": true
23+
}, {
24+
"user" : "SangKa",
25+
"repo" : "react-in-patterns-cn",
26+
"type" : "star",
27+
"size" : "small",
28+
"count": true
29+
}]
30+
}
31+
},
732
"pdf": {
833
"pageNumbers": true,
934
"fontSize": 12,

0 commit comments

Comments
 (0)