summaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
Diffstat (limited to 'lib')
-rw-r--r--lib/generate/index.js6
-rw-r--r--lib/generate/site/index.js3
2 files changed, 7 insertions, 2 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) {
diff --git a/lib/generate/site/index.js b/lib/generate/site/index.js
index 809a7fc..68328e7 100644
--- a/lib/generate/site/index.js
+++ b/lib/generate/site/index.js
@@ -71,7 +71,8 @@ Generator.prototype._writeTemplate = function(tpl, options, output) {
summary: that.options.summary,
allNavigation: that.options.navigation,
- plugins: that.plugins
+ plugins: that.plugins,
+ pluginsConfig: JSON.stringify(that.options.pluginsConfig)
}, options));
})
.then(function(html) {