chore(dgeni): debugging fix this doc link rel to TS 1.8 path bug

This commit is contained in:
perry
2016-04-01 13:18:08 -05:00
parent 50d2d0875b
commit 9613881236
2 changed files with 2 additions and 2 deletions

View File

@ -23,7 +23,7 @@ module.exports = function jekyll(renderDocsProcessor) {
.replace('//', '/'); .replace('//', '/');
if (docs[i].relativePath) { if (docs[i].relativePath) {
docs[i].relativePath = doc.relativePath docs[i].relativePath = doc.relativePath
.replace('//home/ubuntu/ionic', ''); .replace('/home/ubuntu/ionic', '');
} }
}); });

View File

@ -147,7 +147,7 @@ Delegate: <$ doc.delegate $>
</h1> </h1>
<a class="improve-v2-docs" href="http://github.com/driftyco/ionic/edit/2.0/<$ doc.fileInfo.relativePath|replace('//home/ubuntu/ionic', '')|replace('//','/') $>#L<$ doc.location.start.line $>"> <a class="improve-v2-docs" href="http://github.com/driftyco/ionic/edit/2.0/<$ doc.fileInfo.relativePath|replace('/home/ubuntu/ionic', '')|replace('//','/') $>#L<$ doc.location.start.line $>">
Improve this doc Improve this doc
</a> </a>