summaryrefslogtreecommitdiffstats
path: root/lib/generate
diff options
context:
space:
mode:
Diffstat (limited to 'lib/generate')
-rw-r--r--lib/generate/index.js1
-rw-r--r--lib/generate/template.js3
2 files changed, 2 insertions, 2 deletions
diff --git a/lib/generate/index.js b/lib/generate/index.js
index b9edcc4..07b62d0 100644
--- a/lib/generate/index.js
+++ b/lib/generate/index.js
@@ -7,7 +7,6 @@ var fs = require("./fs");
var parse = require("../parse");
var template = require("./template");
-
var generate = function(root, output, options) {
var files, summary, navigation, tpl;
diff --git a/lib/generate/template.js b/lib/generate/template.js
index 0fad90c..d8c1f79 100644
--- a/lib/generate/template.js
+++ b/lib/generate/template.js
@@ -49,7 +49,8 @@ var initTemplate = function(options) {
content: sections,
basePath: basePath,
staticBase: path.join(basePath, "gitbook"),
- navigation: options.locals.allNavigation[_output]
+ navigation: options.locals.allNavigation[_output],
+ progress: parse.progress(options.locals.allNavigation, _output)
})
);
})