chore(docs): generate unique v2 docs search index

This commit is contained in:
perry
2016-01-20 13:41:04 -06:00
parent ee566ae387
commit 73b9014271

View File

@ -164,7 +164,7 @@ module.exports = function(gulp, flags) {
// Write out as one json file // Write out as one json file
mkdirp.sync(docPath + '/data'); mkdirp.sync(docPath + '/data');
fs.writeFileSync( fs.writeFileSync(
docPath + '/data/index.json', docPath + '/data/v2-index.json',
JSON.stringify({'ref': ref, 'index': idx.toJSON()}) JSON.stringify({'ref': ref, 'index': idx.toJSON()})
); );
}); });