summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSamy Pessé <samypesse@gmail.com>2014-06-02 14:13:52 +0200
committerSamy Pessé <samypesse@gmail.com>2014-06-02 14:13:52 +0200
commit9856a51255fd3cc541f3d7c5ad03abdfc3e4fc42 (patch)
tree8361d37b997f4e22b2582434c91099513eed8bae
parent58eaaf55149660f559c0090f62f05007fcb0b9ca (diff)
downloadgitbook-9856a51255fd3cc541f3d7c5ad03abdfc3e4fc42.zip
gitbook-9856a51255fd3cc541f3d7c5ad03abdfc3e4fc42.tar.gz
gitbook-9856a51255fd3cc541f3d7c5ad03abdfc3e4fc42.tar.bz2
Fix #282: stop generation of langs index for page format
-rw-r--r--lib/generate/page/index.js5
1 files changed, 5 insertions, 0 deletions
diff --git a/lib/generate/page/index.js b/lib/generate/page/index.js
index 7e6826d..1097815 100644
--- a/lib/generate/page/index.js
+++ b/lib/generate/page/index.js
@@ -66,6 +66,11 @@ Generator.prototype.convertFile = function(content, input) {
});
};
+// Generate languages index
+Generator.prototype.langsIndex = function(langs) {
+ return Q();
+};
+
Generator.prototype.finish = function() {
var that = this;
var basePath = ".";