fix(api-builder): remove line number from the github source link

this info is not interesting to the reader.
This commit is contained in:
Igor Minar 2016-09-08 13:32:21 -07:00
parent d83d3bd0a0
commit 08130d85df
1 changed files with 2 additions and 2 deletions

View File

@ -3,5 +3,5 @@ https://github.com/{$ versionInfo.gitRepoInfo.owner $}/{$ versionInfo.gitRepoInf
{%- endmacro %}
{% macro githubViewLink(doc) -%}
<a href="{$ githubHref(doc) $}">{$ doc.fileInfo.projectRelativePath $} (line {$ doc.location.start.line+1 $})</a>
<a href="{$ githubHref(doc) $}">{$ doc.fileInfo.projectRelativePath $}</a>
{%- endmacro %}