Skip to content
This repository has been archived by the owner on May 30, 2020. It is now read-only.

Commit

Permalink
Added @see references
Browse files Browse the repository at this point in the history
  • Loading branch information
Zemke committed Mar 27, 2016
1 parent b36d12d commit caa4ae6
Showing 1 changed file with 17 additions and 0 deletions.
17 changes: 17 additions & 0 deletions angular-template/html/class.html
Original file line number Diff line number Diff line change
Expand Up @@ -109,6 +109,15 @@ <h5>Example</h5>
<pre ht-repeat="example in examples" class="prettyprint"><code><span class="str">{{ example.code }}</span></code></pre>
</div>

<div ht-if="see">
<h5>References</h5>
<ul>
<li ht-repeat="ref in see">
{{ ref.replace(/\{@link (.*?)(#.*?)?\}/g, '<a href="$1.html$2">$1$2</a>') }}
</li>
</ul>
</div>

<div ht-if="typeof tutorials !== 'undefined' && tutorials.length">
<h5>Tutorials</h5>
<ul>
Expand Down Expand Up @@ -158,6 +167,14 @@ <h4 class="name">
{{ func.description.replace(/\{@link (.*?)(#.*?)?\}/g, '<a href="$1.html$2">$1$2</a>') }}
</span>
</div>
<div ht-if="func.see && func.see.length">
<h5>References</h5>
<ul>
<li ht-repeat="ref in func.see">
{{ ref.replace(/\{@link (.*?)(#.*?)?\}/g, '<a href="$1.html$2">$1$2</a>') }}
</li>
</ul>
</div>
<div ht-if="func.examples && func.examples.length">
<h5>Example</h5>
<pre ht-repeat="example in func.examples" class="prettyprint"><code><span class="str">{{ example.code }}</span></code></pre>
Expand Down

0 comments on commit caa4ae6

Please sign in to comment.