Skip to content
This repository was archived by the owner on Dec 4, 2017. It is now read-only.

Commit 949ede9

Browse files
sarunintFoxandxss
authored andcommitted
fix(githubHref): change path for GitHub source code (#3518)
1 parent 1aa66f0 commit 949ede9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tools/api-builder/angular.io-package/templates/lib/githubLinks.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{% macro githubHref(doc, versionInfo) -%}
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 $}
2+
https://github.com/{$ versionInfo.gitRepoInfo.owner $}/{$ versionInfo.gitRepoInfo.repo $}/tree/{$ versionInfo.currentVersion.isSnapshot and versionInfo.currentVersion.SHA or versionInfo.currentVersion.raw $}/packages/{$ doc.fileInfo.projectRelativePath $}#L{$ doc.location.start.line+1 $}-L{$ doc.location.end.line+1 $}
33
{%- endmacro %}
44

55
{% macro githubViewLink(doc, versionInfo) -%}

0 commit comments

Comments
 (0)