diff options
-rw-r--r-- | lib/output/ebook/onFinish.js | 4 | ||||
-rw-r--r-- | lib/output/json/onFinish.js | 15 | ||||
-rw-r--r-- | lib/output/website/onFinish.js | 4 |
3 files changed, 21 insertions, 2 deletions
diff --git a/lib/output/ebook/onFinish.js b/lib/output/ebook/onFinish.js index 5ea5148..81fa45d 100644 --- a/lib/output/ebook/onFinish.js +++ b/lib/output/ebook/onFinish.js @@ -10,7 +10,9 @@ function onFinish(output) { return websiteGenerator.onFinish(output) .then(function(resultOutput) { - // todo + // todo: + // - render SUMMARY.html + // - Build ebook using ebook-convert return resultOutput; }); diff --git a/lib/output/json/onFinish.js b/lib/output/json/onFinish.js new file mode 100644 index 0000000..107285a --- /dev/null +++ b/lib/output/json/onFinish.js @@ -0,0 +1,15 @@ +var Promise = require('../../utils/promise'); + +/** + Finish the generation + + @param {Output} + @return {Output} +*/ +function onFinish(output) { + // todo: copy README.json from main language + + return Promise(output); +} + +module.exports = onFinish; diff --git a/lib/output/website/onFinish.js b/lib/output/website/onFinish.js index 691a775..a424250 100644 --- a/lib/output/website/onFinish.js +++ b/lib/output/website/onFinish.js @@ -1,12 +1,14 @@ var Promise = require('../../utils/promise'); /** - Initialize the generator + Finish the generation @param {Output} @return {Output} */ function onFinish(output) { + // todo: render language index + return Promise(output); } |