summaryrefslogtreecommitdiffstats
path: root/lib/book.js
diff options
context:
space:
mode:
Diffstat (limited to 'lib/book.js')
-rw-r--r--lib/book.js5
1 files changed, 4 insertions, 1 deletions
diff --git a/lib/book.js b/lib/book.js
index c81d38f..bde30da 100644
--- a/lib/book.js
+++ b/lib/book.js
@@ -319,7 +319,10 @@ Book.prototype.parseSummary = function() {
that.logDebug("summary located at", summary.path);
return that.template.renderFile(summary.path)
.then(function(content) {
- return summary.parser.summary(content, that.readmeFile);
+ return summary.parser.summary(content, {
+ entryPoint: that.readmeFile,
+ files: that.files
+ });
});
})
.then(function(summary) {