summaryrefslogtreecommitdiffstats
path: root/lib/generate/index.js
diff options
context:
space:
mode:
authorSamy Pessé <samypesse@gmail.com>2014-04-21 22:20:41 +0200
committerSamy Pessé <samypesse@gmail.com>2014-04-21 22:20:41 +0200
commit5beff865488f53d73000da382abc6d7d7f18ecd7 (patch)
tree8c94cb90c63987b5a526dc46142dc2ca6ab12856 /lib/generate/index.js
parentdd395edae122e567e231d472d317ce3e406a5fc2 (diff)
downloadgitbook-5beff865488f53d73000da382abc6d7d7f18ecd7.zip
gitbook-5beff865488f53d73000da382abc6d7d7f18ecd7.tar.gz
gitbook-5beff865488f53d73000da382abc6d7d7f18ecd7.tar.bz2
Change js interface for plugins and add configuration
Diffstat (limited to 'lib/generate/index.js')
-rw-r--r--lib/generate/index.js6
1 files changed, 5 insertions, 1 deletions
diff --git a/lib/generate/index.js b/lib/generate/index.js
index c3803cf..3a9157a 100644
--- a/lib/generate/index.js
+++ b/lib/generate/index.js
@@ -43,7 +43,11 @@ var generate = function(options) {
githubHost: 'https://github.com/',
// Theming
- theme: path.resolve(__dirname, '../../theme')
+ theme: path.resolve(__dirname, '../../theme'),
+
+ // Plugins
+ plugins: [],
+ pluginsConfig: {test:1}
});
if (!options.input) {