diff options
Diffstat (limited to 'lib/generators/website.js')
-rw-r--r-- | lib/generators/website.js | 9 |
1 files changed, 0 insertions, 9 deletions
diff --git a/lib/generators/website.js b/lib/generators/website.js index 4bde473..e1a3cce 100644 --- a/lib/generators/website.js +++ b/lib/generators/website.js @@ -112,7 +112,6 @@ Generator.prototype.finish = function() { return this.copyAssets() .then(this.copyCover) .then(this.writeGlossary) - .then(this.writeSearchIndex) .then(this.writeLangsIndex); }; @@ -167,14 +166,6 @@ Generator.prototype.writeGlossary = function() { return this._writeTemplate(this.templates.glossary, {}, path.join(this.options.output, "GLOSSARY.html")); }; -// Write the search index -Generator.prototype.writeSearchIndex = function() { - return fs.writeFile( - path.join(this.options.output, "search_index.json"), - JSON.stringify(this.book.searchIndex) - ); -}; - // Convert a page into a normalized data set Generator.prototype.normalizePage = function(page) { var that = this; |