mirror of
https://github.com/ionic-team/ionic-framework.git
synced 2025-08-20 12:29:55 +08:00
chore(docs): generate unique v2 docs search index
This commit is contained in:
@ -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()})
|
||||||
);
|
);
|
||||||
});
|
});
|
||||||
|
Reference in New Issue
Block a user