mirror of
https://github.com/GitbookIO/gitbook.git
synced 2026-10-07 13:52:40 +00:00
Call hook "init" during generation
This commit is contained in:
@@ -68,6 +68,9 @@ Output.prototype.generate = function() {
|
||||
})
|
||||
|
||||
// Initialize the generation
|
||||
.then(function() {
|
||||
return that.plugins.hook('init');
|
||||
})
|
||||
.then(function() {
|
||||
that.log.info.ln('preparing the generation');
|
||||
return that.prepare();
|
||||
|
||||
Reference in New Issue
Block a user