mirror of
https://github.com/ionic-team/ionic-framework.git
synced 2025-08-20 12:29:55 +08:00
chore(dgeni): work around TS 1.8 dgeni bug RE output paths
This commit is contained in:
@ -98,7 +98,7 @@ module.exports = function(currentVersion){
|
||||
docPath += doc.name + '/index.md';
|
||||
var path = config.v2DocsDir + '/' + (versionData.current.folder || '') +
|
||||
'/api/' + docPath;
|
||||
|
||||
path = path.replace('/home/ubuntu/ionic/ionic', '')
|
||||
return path;
|
||||
}
|
||||
}];
|
||||
|
@ -19,7 +19,7 @@ module.exports = function jekyll(renderDocsProcessor) {
|
||||
docs.forEach(function(doc, i) {
|
||||
docs[i].URL = doc.outputPath.replace('docs/v2//','docs/v2/')
|
||||
.replace('/index.md','')
|
||||
.replace('//home/ubuntu/ionic/ionic', '/');
|
||||
.replace('//home/ubuntu/ionic/ionic', '');
|
||||
});
|
||||
|
||||
docs.push({
|
||||
|
Reference in New Issue
Block a user