UNPKG

gitbook-plugin-theme-cuav

Version:
180 lines (179 loc) 5.23 kB
{ "name": "gitbook-plugin-theme-cuav", "description": "CUAV theme for GitBook", "keywords": [ "cuav", "gitbook", "theme" ], "main": "./index.js", "version": "1.1.6", "engines": { "gitbook": ">=3.0.0" }, "dependencies": {}, "devDependencies": { "browserify": "13.1.0", "eslint": "3.6.1", "font-awesome": "4.6.3", "preboot": "git+https://github.com/mdo/preboot.git#4aab4edd85f076d50609cbe28e4fe66cc0771701", "gitbook-logos": "git+https://github.com/GitbookIO/logos.git#2.0.2", "gitbook-markdown-css": "1.0.1", "jquery": "3.1.1", "less": "2.7.1", "less-plugin-clean-css": "1.5.1", "mousetrap": "1.6.0", "uglify-js": "2.7.3", "node-sass": "4.5.0" }, "scripts": { "prepublish": "./src/build.sh" }, "repository": { "type": "git", "url": "https://github.com/cuav/gitbook-plugin-theme-cuav.git" }, "author": "黄伟枞. <weicong@cuav.net>", "license": "Apache-2.0", "bugs": { "url": "https://github.com/cuav/gitbook-plugin-theme-cuav/issues" }, "contributors": [ { "name": "Weicong Huang", "email": "weicong@cuav.net" } ], "gitbook": { "properties": { "styles": { "type": "object", "title": "Custom Stylesheets", "properties": { "website": { "title": "Stylesheet for website output", "default": "styles/website.css" }, "pdf": { "title": "Stylesheet for PDF output", "default": "styles/pdf.css" }, "epub": { "title": "Stylesheet for ePub output", "default": "styles/epub.css" }, "mobi": { "title": "Stylesheet for Mobi output", "default": "styles/mobi.css" }, "ebook": { "title": "Stylesheet for ebook outputs (PDF, ePub, Mobi)", "default": "styles/ebook.css" }, "print": { "title": "Stylesheet to replace default ebook css", "default": "styles/print.css" } } }, "showLevel": { "type": "boolean", "title": "Show level indicator in TOC", "default": false }, "useGitbookIcon": { "type": "boolean", "title": "使用 GitBook 默认的网站 icon", "default": false }, "iconPath": { "type": "string", "title": "使用本地的 icon 图标作为网站的图标" }, "showGitBookLink": { "type": "boolean", "title": "在目录底部显示 GitBook 的链接", "default": true }, "navbar": { "type": "object", "title": "导航栏配置", "properties": { "brand": { "type": "object", "title": "logo 配置", "properties": { "url": { "type": "string", "title": "点击图片跳转链接", "default": "javascript:;" }, "logo": { "type": "object", "title": "logo 图片信息", "properties": { "alt": { "type": "string", "title": "图片不存在是显示的信息" }, "url": { "type": "string", "title": "网络图片路径" }, "path": { "type": "string", "title": "本地图片路径" } } } } }, "nav": { "type": "object", "title": "导航栏菜单", "properties": { "items": { "type": "array", "title": "菜单项", "peoperties": { "name": { "type": "string", "title": "一级菜单显示名称" }, "url": { "type": "string", "title": "点击跳转链接,有二级菜单时无效", "default": "javascript:;" }, "links": { "type": "array", "title": "二级菜单,如果添加此属性,则表示拥有二级菜单", "properties": { "name": { "type": "string", "title": "二级菜单显示名称" }, "url": { "type": "string", "title": "点击跳转链接", "default": "javascript:;" } } } } } } }, "navAjaxUrl": { "type": "string", "title": "Ajax 获取 nav 配置的 url,生成顶部下拉菜单" }, "footer": { "title": "页脚设置,可以用 html 语法", "type": "string" } } } } } }