文档页面阅读数插件
In your book.json add the plugin:
{
"plugins": [
"pageview-count"
]
}
首先设置book.json
如下:
{
"plugins": [
"-lunr", "-search", "search-pro",
"back-to-top-button",
"chapter-fold",
"code",
"splitter",
"tbfed-pagefooter",
"popup",
"page-toc-button",
"accordion",
"click-reveal",
"pageview-count"
],
"pluginsConfig": {
"tbfed-pagefooter": {
"copyright": "Copyright © Aron.Li 2019",
"modify_label": "该文件修订时间:",
"modify_format": "YYYY-MM-DD HH:mm:ss"
},
"page-toc-button": {
"maxTocDepth": 2,
"minTocSize": 2
}
}
}
使用gitbook install
安装。