mirror of
https://github.com/ionic-team/ionic-framework.git
synced 2025-08-19 11:41:20 +08:00
fix doc path issues
This commit is contained in:
@ -6,12 +6,13 @@ module.exports = function indexPage() {
|
||||
$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: 'index.md'
|
||||
outputPath: 'docs/2.0.0-alpha.2/api/index.md'
|
||||
});
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user