mirror of
https://github.com/ionic-team/ionic-framework.git
synced 2025-08-20 04:14:21 +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
|
||||
mkdirp.sync(docPath + '/data');
|
||||
fs.writeFileSync(
|
||||
docPath + '/data/index.json',
|
||||
docPath + '/data/v2-index.json',
|
||||
JSON.stringify({'ref': ref, 'index': idx.toJSON()})
|
||||
);
|
||||
});
|
||||
|
Reference in New Issue
Block a user