diff --git a/.travis/book.json b/.travis/book.json index 07a348b..c9f0ea4 100644 --- a/.travis/book.json +++ b/.travis/book.json @@ -10,8 +10,9 @@ "plugins": [ "-livereload", "image-captions", - "github-buttons", - "page-treeview" + "github", + "page-treeview", + "editlink" ], "pluginsConfig": { "image-captions": { @@ -20,13 +21,12 @@ }, "caption": "图 _PAGE_LEVEL_._PAGE_IMAGE_NUMBER_ - _CAPTION_" }, - "github-buttons": { - "buttons": [{ - "user": "yeasy", - "repo": "docker_practice", - "type": "star", - "size": "small" - }] + "github": { + "url": "https://github.com/yeasy/docker_practice" + }, + "editlink": { + "base": "https://github.com/yeasy/docker_practice/blob/master/", + "label": "编辑本页" }, "page-treeview": { "copyright": "Copyright © yeasy", diff --git a/book.json b/book.json index 07a348b..c9f0ea4 100644 --- a/book.json +++ b/book.json @@ -10,8 +10,9 @@ "plugins": [ "-livereload", "image-captions", - "github-buttons", - "page-treeview" + "github", + "page-treeview", + "editlink" ], "pluginsConfig": { "image-captions": { @@ -20,13 +21,12 @@ }, "caption": "图 _PAGE_LEVEL_._PAGE_IMAGE_NUMBER_ - _CAPTION_" }, - "github-buttons": { - "buttons": [{ - "user": "yeasy", - "repo": "docker_practice", - "type": "star", - "size": "small" - }] + "github": { + "url": "https://github.com/yeasy/docker_practice" + }, + "editlink": { + "base": "https://github.com/yeasy/docker_practice/blob/master/", + "label": "编辑本页" }, "page-treeview": { "copyright": "Copyright © yeasy",