Skip to content

tonyyls/gitbook-plugin-theme-fexa-black

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

27 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Gitbook theme

Image

Usage

Add the theme to your book's configuration book.json or book.js:

{
    "plugins": [
        "theme-fexa-black"
    ],
    "variables": {
        "themeFexa":{
            "showHome": false, //是否显示 home 图标,默认显示
            "showNavigator": false, //是否显示 内容的导航树
            "nav":[
                {
                    "url":"http://...",
                    "target":"_blank",
                    "name": "解决方案"
                },
                {
                    "url":"http://...",
                    "target":"_blank",
                    "name": "产品中心"
                },
                {
                    "url":"http://...",
                    "target":"_blank",
                    "name": "开发者文档"
                },
                {
                    "url":"http://...",
                    "target":"_blank",
                    "name": "管理控制台",
                    "border": "nav-border",
                    "type": "console" //跳转控制台用,非通用属性
                }
            ]
        },
    },
    "pluginsConfig": {
        "theme-fexa":{
            "search-placeholder":"输入关键字搜索", //搜索框提示信息
            "logo":"./assets/logo.png", //logo地址
            "favicon": "./assets/favicon.ico" //ico地址
        }
    }
},

Install by command:

gitbook install

Recommand plugins

plugins: [
    '-sharing',
    "-fontsettings",
    'back-to-top-button',
    "copy-code-button",
    "cuav-chapters",
    "heading-anchors",
    "theme-fexa-black",
    "lightbox"
    //...
]

Enjoy!

About

基于gitbook开发的黑色风格主题

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published