From 136dd812a2b1980523cbc083a87e6b0e39109f2f Mon Sep 17 00:00:00 2001 From: iapyang Date: Wed, 30 Aug 2017 09:23:42 +0800 Subject: [PATCH] add expandable plugin --- uidoc/book.json | 6 ++++-- uidoc/package.json | 1 + 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/uidoc/book.json b/uidoc/book.json index b3fdd5aea..1e736f4ab 100644 --- a/uidoc/book.json +++ b/uidoc/book.json @@ -2,7 +2,8 @@ "plugins": [ "jsfiddle", "splitter", - "theme-api" + "theme-api", + "expandable-chapters" ], "pluginsConfig": { "theme-default": { @@ -18,6 +19,7 @@ "height": "100", "width": "500", "fontColor": "00FF00" - } + }, + "expandable-chapters":{} } } \ No newline at end of file diff --git a/uidoc/package.json b/uidoc/package.json index c205aa179..6b2fcd46c 100644 --- a/uidoc/package.json +++ b/uidoc/package.json @@ -22,6 +22,7 @@ "devDependencies": { "gh-pages": "^1.0.0", "gitbook-cli": "^2.3.2", + "gitbook-plugin-expandable-chapters": "^0.2.0", "gitbook-plugin-jsfiddle": "^1.0.0", "gitbook-plugin-splitter": "0.0.8", "gitbook-plugin-theme-api": "^1.1.2",