mirror of
https://github.com/ionic-team/ionic-framework.git
synced 2025-08-23 05:58:26 +08:00
20 lines
558 B
JavaScript
20 lines
558 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) {
|
|
//TODO(tlancina): inject api base path or at least version
|
|
docs.push({
|
|
docType: 'index-page',
|
|
id: 'index-page',
|
|
currentVersion: this.version,
|
|
template: 'api_index.template.html',
|
|
outputPath: 'docs/2.0.0-alpha.2/api/index.md'
|
|
});
|
|
}
|
|
}
|
|
};
|