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
*.edx
.DS_Store
node_modules/

View File

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