diff options
author | Samy Pessé <samypesse@gmail.com> | 2015-10-06 09:42:49 +0200 |
---|---|---|
committer | Samy Pessé <samypesse@gmail.com> | 2015-10-06 09:42:49 +0200 |
commit | ce1e0e187339976fc3cae7ef70bcfdd0eaf68981 (patch) | |
tree | c71ab2b8badd7a54759790bde083cab721796d92 /lib/generators/website.js | |
parent | bcb224d1cb0add4285538f03956f6f6a1574e49a (diff) | |
parent | c2775b3b63e92a7047f019a9d56851ce4fdd6c02 (diff) | |
download | gitbook-ce1e0e187339976fc3cae7ef70bcfdd0eaf68981.zip gitbook-ce1e0e187339976fc3cae7ef70bcfdd0eaf68981.tar.gz gitbook-ce1e0e187339976fc3cae7ef70bcfdd0eaf68981.tar.bz2 |
Merge pull request #964 from GitbookIO/features/plugin_api
Better APIs for Plugins
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; |