chore(docs-generator): make demos take less time to load

This commit is contained in:
Andrew Joslin
2014-05-20 11:07:32 -06:00
parent 3e7461cb1c
commit 4a57bd0229
4 changed files with 14 additions and 2 deletions

View File

@@ -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;
}
};