mirror of
https://github.com/ionic-team/ionic-framework.git
synced 2025-08-20 12:29:55 +08:00
chore(dgeni): some docs don't have a relativePath
This commit is contained in:
@ -21,8 +21,10 @@ module.exports = function jekyll(renderDocsProcessor) {
|
||||
.replace('/index.md','')
|
||||
.replace('//home/ubuntu/ionic/ionic', '')
|
||||
.replace('//', '/');
|
||||
docs[i].relativePath = doc.relativePath
|
||||
.replace('//home/ubuntu/ionic', '');
|
||||
if (docs[i].relativePath) {
|
||||
docs[i].relativePath = doc.relativePath
|
||||
.replace('//home/ubuntu/ionic', '');
|
||||
}
|
||||
});
|
||||
|
||||
docs.push({
|
||||
|
Reference in New Issue
Block a user