mirror of
https://github.com/ionic-team/ionic-framework.git
synced 2025-08-20 12:29:55 +08:00
chore(dgeni): debugging fix this doc link rel to TS 1.8 path bug
This commit is contained in:
@ -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', '');
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
|
||||||
|
2
scripts/docs/templates/common.template.html
vendored
2
scripts/docs/templates/common.template.html
vendored
@ -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>
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user