File tree 1 file changed +2
-2
lines changed
docs_app/tools/transforms/templates/api/lib
1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change 1
1
{% macro githubViewHref(doc, versionInfo) -%}
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.realProjectRelativePath $}#L{$ doc.startingLine + 1 $}-L{$ doc.endingLine + 1 $}
2
+ https://github.com/{$ versionInfo.gitRepoInfo.owner $}/{$ versionInfo.gitRepoInfo.repo $}/tree/{$ versionInfo.currentVersion.isSnapshot and versionInfo.currentVersion.SHA or versionInfo.currentVersion.raw $}/src /{$ doc.fileInfo.realProjectRelativePath $}#L{$ doc.startingLine + 1 $}-L{$ doc.endingLine + 1 $}
3
3
{%- endmacro %}
4
4
5
5
6
6
{% macro githubEditHref(doc, versionInfo) -%}
7
- https://github.com/{$ versionInfo.gitRepoInfo.owner $}/{$ versionInfo.gitRepoInfo.repo $}/edit/master/packages /{$ doc.fileInfo.realProjectRelativePath $}?message=docs(
7
+ https://github.com/{$ versionInfo.gitRepoInfo.owner $}/{$ versionInfo.gitRepoInfo.repo $}/edit/master/src /{$ doc.fileInfo.realProjectRelativePath $}?message=docs(
8
8
{%- if doc.moduleDoc %}{$ doc.moduleDoc.id.split('/')[0] $}
9
9
{%- elseif doc.docType === 'module' %}{$ doc.id.split('/')[0] $}
10
10
{%- else %}...{%- endif -%}
You can’t perform that action at this time.
0 commit comments