Skip to content
This repository was archived by the owner on Nov 22, 2019. It is now read-only.

use full class name to create link #90

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 9 additions & 1 deletion index.xsl
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,15 @@
<xsl:if test="count($methods) > 0">
<li class="nav-header"><i class="icon-custom icon-method"></i> Public API Methods</li>
<xsl:for-each select="$methods">
<li><a href="classes/{../name}.html#{name}" title="{docblock/description}"><xsl:value-of select="../name" />.<xsl:value-of select="name" /></a></li>
<xsl:variable name="filename">
<xsl:call-template name="createLink">
<xsl:with-param name="value" select="../full_name"/>
</xsl:call-template>
</xsl:variable>
<xsl:variable name="link" xml:space="preserve"><xsl:value-of select="$root" />classes/<xsl:value-of select="substring($filename, 2)" />.html</xsl:variable>


<li><a href="{$link}#{name}" title="{docblock/description}"><xsl:value-of select="../name" />.<xsl:value-of select="name" /></a></li>
</xsl:for-each>
</xsl:if>
</ul>
Expand Down