chore(dgeni): filter out local filesystem paths from the docs

This commit is contained in:
perry
2016-02-29 16:45:29 -06:00
parent dbc5737d82
commit b93bc0c1bd

View File

@ -18,7 +18,8 @@ module.exports = function jekyll(renderDocsProcessor) {
});
docs.forEach(function(doc, i) {
docs[i].URL = doc.outputPath.replace('docs/v2//','docs/v2/')
.replace('/index.md','');
.replace('/index.md','')
.replace('//home/ubuntu/ionic/ionic', '/');
});
docs.push({