fix modal and popup doc links

This commit is contained in:
Tim Lancina
2015-09-08 10:51:18 -05:00
parent 71d60159ea
commit 45d579681a
2 changed files with 5 additions and 4 deletions

View File

@@ -277,12 +277,12 @@
<!-- Modal -->
<li class="menu-section">
<a href="{{ page.versionHref }}/api/components/modal/Modal/" class="api-section">
<a href="{{ page.versionHref }}/api/components/modal/ionModal/" class="api-section">
Modal
</a>
<ul>
<li>
<a href="{{ page.versionHref }}/api/components/modal/Modal/">
<a href="{{ page.versionHref }}/api/components/modal/ionModal/">
Modal
</a>
</li>
@@ -349,12 +349,12 @@
<!-- Popup -->
<li class="menu-section">
<a href="{{ page.versionHref }}/api/components/popup/Popup/" class="api-section">
<a href="{{ page.versionHref }}/api/components/popup/ionPopup/" class="api-section">
Popup
</a>
<ul>
<li>
<a href="{{ page.versionHref }}/api/components/popup/Popup/">
<a href="{{ page.versionHref }}/api/components/popup/ionPopup/">
Popup
</a>
</li>

View File

@@ -13,6 +13,7 @@ docType: "<$ doc.docType $>"
<@- endfor @>)</span>
<@- endif @>
<@- endmacro -@>
<@ macro githubViewLink(doc) -@>
<a href="https://github.com/<$ versionInfo.gitRepoInfo.owner $>/<$ versionInfo.gitRepoInfo.repo $>/tree/master/<$ doc.fileInfo.relativePath $>#L<$ doc.location.start.line+1 $>-L<$ doc.location.end.line+1 $>"><$ doc.fileInfo.relativePath $> (line <$ doc.location.start.line+1 $>)</a>
<@- endmacro -@>