Skip to content

Commit 40444ac

Browse files
committed
feat(gitbook): add GitHub Button
1 parent 899d1a2 commit 40444ac

File tree

2 files changed

+8
-0
lines changed

2 files changed

+8
-0
lines changed

book.json

+7
Original file line numberDiff line numberDiff line change
@@ -10,12 +10,19 @@
1010
"accounts.github": "azu"
1111
},
1212
"plugins": [
13+
"github-buttons",
1314
"include-codeblock",
1415
"richquotes",
1516
"edit-link",
1617
"japanese-support"
1718
],
1819
"pluginsConfig": {
20+
"github-buttons": {
21+
"repo": "azu/JavaScript-Plugin-Architecture",
22+
"types": [
23+
"star"
24+
]
25+
},
1926
"edit-link": {
2027
"base": "https://github.com/azu/JavaScript-Plugin-Architecture/edit/master/",
2128
"label": "Edit This Page"

package.json

+1
Original file line numberDiff line numberDiff line change
@@ -41,6 +41,7 @@
4141
"espower-babel": "^3.3.0",
4242
"gitbook-cli": "^0.3.6",
4343
"gitbook-plugin-edit-link": "^1.4.1",
44+
"gitbook-plugin-github-buttons": "^1.2.2",
4445
"gitbook-plugin-include-codeblock": "^1.4.0",
4546
"gitbook-plugin-japanese-support": "0.0.1",
4647
"gitbook-plugin-richquotes": "0.0.5",

0 commit comments

Comments
 (0)