File tree 1 file changed +3
-3
lines changed
tools/api-builder/angular.io-package/templates/lib
1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change 1
1
{% macro githubHref(doc) -%}
2
- https://github.com/{$ versionInfo.gitRepoInfo.owner $}/{$ versionInfo.gitRepoInfo.repo $}/tree/{$ versionInfo.currentVersion.isSnapshot and versionInfo.currentVersion.SHA or versionInfo.currentVersion.raw $}/modules/{$ doc.fileInfo.relativePath $}#L{$ doc.location.start.line+1 $}-L{$ doc.location.end.line+1 $}
2
+ https://github.com/{$ versionInfo.gitRepoInfo.owner $}/{$ versionInfo.gitRepoInfo.repo $}/tree/{$ versionInfo.currentVersion.isSnapshot and versionInfo.currentVersion.SHA or versionInfo.currentVersion.raw $}/modules/{$ doc.fileInfo.projectRelativePath $}#L{$ doc.location.start.line+1 $}-L{$ doc.location.end.line+1 $}
3
3
{%- endmacro %}
4
4
5
5
{% macro githubViewLink(doc) -%}
6
- < a href ="{$ githubHref(doc) $} "> {$ doc.fileInfo.relativePath $} (line {$ doc.location.start.line+1 $})</ a >
7
- {%- endmacro - %}
6
+ < a href ="{$ githubHref(doc) $} "> {$ doc.fileInfo.projectRelativePath $} (line {$ doc.location.start.line+1 $})</ a >
7
+ {%- endmacro %}
You can’t perform that action at this time.
0 commit comments