Skip to content

Commit

Permalink
add plugin of github.
Browse files Browse the repository at this point in the history
  • Loading branch information
chusiang committed Oct 11, 2015
1 parent 245a1a8 commit ce3cd13
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 2 deletions.
5 changes: 4 additions & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ OS_NAME := $(shell uname)

include Makefile.target

.PHONY: main html cp2clipboard build pdf epub mobi update review push clean
.PHONY: main html cp2clipboard install build pdf epub mobi update review push clean

main: build review

Expand Down Expand Up @@ -41,6 +41,9 @@ html: $(md)
markdown_py $(md) > tmp.html
chromium tmp.html

install:
gitbook install .

build:
gitbook build .

Expand Down
9 changes: 8 additions & 1 deletion book.json
Original file line number Diff line number Diff line change
@@ -1,11 +1,18 @@
{
"plugins": ["disqus", "ga"],
"plugins": [
"disqus",
"ga",
"github"
],
"pluginsConfig": {
"disqus": {
"shortName": "chusiang-working-on-gnu-linux-books"
},
"ga": {
"token": "UA-15084346-2"
},
"github": {
"url": "https://github.com/chusiang/working-on-gnu-linux"
}
}
}
Expand Down

0 comments on commit ce3cd13

Please sign in to comment.