generate api index page

This commit is contained in:
Tim Lancina
2015-09-01 15:07:00 -05:00
parent 481fd7f651
commit d0c9f1404e
28 changed files with 1183 additions and 1 deletions

View File

@ -0,0 +1,18 @@
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'
});
}
}
};