Skip to content

Commit

Permalink
Added source link to method page
Browse files Browse the repository at this point in the history
  • Loading branch information
theseer committed Sep 10, 2014
1 parent 7c726ef commit c1502cb
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions templates/html/method.xsl
Original file line number Diff line number Diff line change
Expand Up @@ -136,6 +136,10 @@
<xsl:if test="$method//pdx:todo">
<li><a href="#tasks">Tasks</a></li>
</xsl:if>
<xsl:if test="$unit/@start"><!-- hack: test for start line == we know something about this class -->
<li><a href="{$base}source/{$unit/pdx:file/@relative}.xhtml#line{$method/@start}">Source</a></li>
</xsl:if>

</ul>
</nav>
</xsl:template>
Expand Down

0 comments on commit c1502cb

Please sign in to comment.