summaryrefslogtreecommitdiffstats
path: root/lib/generators/website.js
diff options
context:
space:
mode:
authorSamy Pesse <samypesse@gmail.com>2016-02-11 21:44:38 +0100
committerSamy Pesse <samypesse@gmail.com>2016-02-11 21:44:38 +0100
commit669f3b39849890c48171d807225cd6eaa3c9086b (patch)
treebc07fefc4e13ac8f737174166ac1d19512379298 /lib/generators/website.js
parente7eed2abbe91fa44bd071819123bd9ea04d1702a (diff)
downloadgitbook-669f3b39849890c48171d807225cd6eaa3c9086b.zip
gitbook-669f3b39849890c48171d807225cd6eaa3c9086b.tar.gz
gitbook-669f3b39849890c48171d807225cd6eaa3c9086b.tar.bz2
Add base for normalizing html
Diffstat (limited to 'lib/generators/website.js')
-rw-r--r--lib/generators/website.js27
1 files changed, 0 insertions, 27 deletions
diff --git a/lib/generators/website.js b/lib/generators/website.js
deleted file mode 100644
index a2c3311..0000000
--- a/lib/generators/website.js
+++ /dev/null
@@ -1,27 +0,0 @@
-var util = require('util');
-var Generator = require('./base');
-
-function WebsiteGenerator() {
- Generator.apply(this, arguments);
-}
-util.inherits(WebsiteGenerator, Generator);
-
-// Copy an asset file
-WebsiteGenerator.prototype.writeAsset = function(filename) {
- var that = this;
-
- return that.book.readFile(filename)
- .then(function(buf) {
- return that.output.writeFile(filename, buf);
- });
-};
-
-// Write a page (parsable file)
-WebsiteGenerator.prototype.writePage = function(page) {
-
-};
-
-
-
-
-module.exports = WebsiteGenerator;