Update book.json

This commit is contained in:
khs1994 2017-12-04 11:34:47 +08:00
parent c8fed2d977
commit f2c04dff35
4 changed files with 16 additions and 28 deletions

2
.gitignore vendored
View File

@ -6,6 +6,4 @@ _book/
*.swp *.swp
*.edx *.edx
.DS_Store .DS_Store
node_modules/ node_modules/

View File

@ -8,6 +8,7 @@
} }
}, },
"plugins": [ "plugins": [
"-livereload",
"image-captions", "image-captions",
"github-buttons", "github-buttons",
"page-treeview" "page-treeview"
@ -20,17 +21,17 @@
"caption": "图 _PAGE_LEVEL_._PAGE_IMAGE_NUMBER_ - _CAPTION_" "caption": "图 _PAGE_LEVEL_._PAGE_IMAGE_NUMBER_ - _CAPTION_"
}, },
"github-buttons": { "github-buttons": {
"repo": "yeasy/docker_practice", "buttons": [{
"types": [ "user": "yeasy",
"star", "repo": "docker_practice",
"watch" "type": "star",
], "size": "small"
"size": "small" }]
}, },
"page-treeview": { "page-treeview": {
"copyright": "Copyright © yeasy", "copyright": "Copyright © yeasy",
"minHeaderCount": "2", "minHeaderCount": "2",
"minHeaderDeep": "2" "minHeaderDeep": "2"
} }
} }
} }

View File

@ -1,12 +0,0 @@
{% extends template.self %}
{% block head %}
{{ super() }}
<style>
@media only screen and (max-width: 640px) {
.book-header .btn[aria-label="github"] {
display: none;
}
}
</style>
{% endblock %}

View File

@ -8,6 +8,7 @@
} }
}, },
"plugins": [ "plugins": [
"-livereload",
"image-captions", "image-captions",
"github-buttons", "github-buttons",
"page-treeview" "page-treeview"
@ -20,17 +21,17 @@
"caption": "图 _PAGE_LEVEL_._PAGE_IMAGE_NUMBER_ - _CAPTION_" "caption": "图 _PAGE_LEVEL_._PAGE_IMAGE_NUMBER_ - _CAPTION_"
}, },
"github-buttons": { "github-buttons": {
"repo": "yeasy/docker_practice", "buttons": [{
"types": [ "user": "yeasy",
"star", "repo": "docker_practice",
"watch" "type": "star",
], "size": "small"
"size": "small" }]
}, },
"page-treeview": { "page-treeview": {
"copyright": "Copyright &#169; yeasy", "copyright": "Copyright &#169; yeasy",
"minHeaderCount": "2", "minHeaderCount": "2",
"minHeaderDeep": "2" "minHeaderDeep": "2"
} }
} }
} }