diff options
author | Samy Pessé <samypesse@gmail.com> | 2015-01-24 11:57:21 +0100 |
---|---|---|
committer | Samy Pessé <samypesse@gmail.com> | 2015-01-24 11:57:21 +0100 |
commit | fd98746c2b14985b914678f39361b31028437d5b (patch) | |
tree | e7e87f00b404490b54ca9be9f749598653bb1853 /lib | |
parent | 2efd234824c8ec0a87bd20f807867b16cf169ecc (diff) | |
download | gitbook-fd98746c2b14985b914678f39361b31028437d5b.zip gitbook-fd98746c2b14985b914678f39361b31028437d5b.tar.gz gitbook-fd98746c2b14985b914678f39361b31028437d5b.tar.bz2 |
Update gitbook-parsers and improve summary tests
Diffstat (limited to 'lib')
-rw-r--r-- | lib/book.js | 5 |
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) { |