mirror of
https://github.com/ionic-team/ionic-framework.git
synced 2026-03-13 10:22:08 +08:00
chore(docs-generator): make demos take less time to load
This commit is contained in:
@@ -135,6 +135,17 @@ module.exports = {
|
||||
)
|
||||
});
|
||||
|
||||
//Write the demo list to current version (eg at /nightly);
|
||||
docs.push({
|
||||
docType: 'demo',
|
||||
template: 'demo_list.template.js',
|
||||
outputPath: path.join(
|
||||
config.get('demos.outputFolder'),
|
||||
config.get('versionData.current.folder'),
|
||||
'demo-list.js'
|
||||
)
|
||||
});
|
||||
|
||||
extraData.demos = allDemos;
|
||||
}
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user