summaryrefslogtreecommitdiffstats
path: root/lib/generators/base.js
blob: 554a389de6f365ab02d9ee9c02a94fea05ff609e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29

function Generator(output, type) {
    this.output = output;
    this.book = output.book;
    this.type = type;
}

// Prepare the generation
Generator.prototype.prepare = function() {

};

// Copy an asset file (non-parsable), ex: images, etc
Generator.prototype.writeFile = function(filename) {

};

// Write a page (parsable file), ex: markdown, etc
Generator.prototype.writePage = function(page) {

};

// Finish the generation
Generator.prototype.finish = function() {

};


module.exports = Generator;