gitbook-plugin-theme-fexa-black

0.3.4 • Public • Published

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!

Readme

Keywords

Package Sidebar

Install

npm i gitbook-plugin-theme-fexa-black

Weekly Downloads

0

Version

0.3.4

License

none

Unpacked Size

214 kB

Total Files

11

Last publish

Collaborators

  • yulongsheng