mirror of
https://github.com/GitbookIO/gitbook.git
synced 2026-09-16 23:55:20 +00:00
19 lines
357 B
JavaScript
19 lines
357 B
JavaScript
var Promise = require('../../utils/promise');
|
|
|
|
var copyPluginAssets = require('./copyPluginAssets');
|
|
var prepareI18n = require('./prepareI18n');
|
|
|
|
/**
|
|
Initialize the generator
|
|
|
|
@param {Output}
|
|
@return {Output}
|
|
*/
|
|
function onInit(output) {
|
|
return Promise(output)
|
|
.then(prepareI18n)
|
|
.then(copyPluginAssets);
|
|
}
|
|
|
|
module.exports = onInit;
|