gitbook插件

位置

在summary.md同级目录,创建一个book.json文件

文件内容

{
    
    
	"title" : "ansible newer",
	"author" : "qipaqiu",
    "plugins" : [ 
        "expandable-chapters",
        "chapter-fold",
        "code",
        "splitter",
        "-lunr", 
        "-search", 
        "search-pro",
        "tbfed-pagefooter"
    ],
    "pluginsConfig": {
    
    
        "page-toc-button": {
    
    
            "maxTocDepth": 2,
            "minTocSize": 2  
           },
         "theme-default": {
    
    
        "showLevel": true
          },
        "tbfed-pagefooter": {
    
    
            "copyright":"Copyright &copy dsx2016.com 2019",
            "modify_label": "该文章修订时间:",
            "modify_format": "YYYY-MM-DD HH:mm:ss"
        }
    }
}

安装插件

gitbook install

猜你喜欢

转载自blog.csdn.net/qq_41861526/article/details/109480556