Files
2015-09-01 15:07:11 -05:00

19 lines
470 B
JavaScript

module.exports = function indexPage() {
return {
name: 'index-page',
description: 'Create documentation index page',
version: 'nightly',
$runAfter: ['adding-extra-docs'],
$runBefore: ['extra-docs-added'],
$process: function(docs) {
docs.push({
docType: 'index-page',
id: 'index-page',
currentVersion: this.version,
template: 'api_index.template.html',
outputPath: 'index.md'
});
}
}
};