diff options
author | Samy Pessé <samypesse@gmail.com> | 2015-10-05 15:55:39 +0200 |
---|---|---|
committer | Samy Pessé <samypesse@gmail.com> | 2015-10-05 15:55:39 +0200 |
commit | 7f0e4803e266e11ef3aedc041c63b99cd2cce7e2 (patch) | |
tree | 22d70a8389336ecd4231f7e84efdf265a2eb7230 /lib/generators/website.js | |
parent | fa76029a1789d23f80d8eaac2fc7b872440fd75e (diff) | |
download | gitbook-7f0e4803e266e11ef3aedc041c63b99cd2cce7e2.zip gitbook-7f0e4803e266e11ef3aedc041c63b99cd2cce7e2.tar.gz gitbook-7f0e4803e266e11ef3aedc041c63b99cd2cce7e2.tar.bz2 |
Start removing search and lunr from core
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; |