Skip to content

Commit

Permalink
Merge branch 'master' of github.com:mvriel/Docblox
Browse files Browse the repository at this point in the history
  • Loading branch information
mvriel committed May 8, 2011
2 parents 78120ca + 038256b commit 55260bb
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 1 deletion.
5 changes: 5 additions & 0 deletions data/themes/default/nav.xsl
Expand Up @@ -90,6 +90,10 @@

<xsl:if test="count(./docblock/tag[@name='api']) > 0">
<xsl:comment>File level</xsl:comment>
<xsl:if test="
not(((name() = 'class') and count(./*/docblock/tag[@name='api']) > 0))
and
not(((name() = 'interface') and count(./*/docblock/tag[@name='api']) > 0))">
<li class="closed">
<span class="{name()}">
<xsl:choose>
Expand Down Expand Up @@ -124,6 +128,7 @@
</xsl:choose>
</span>
</li>
</xsl:if>
</xsl:if>
</xsl:for-each>
</ul>
Expand Down
5 changes: 4 additions & 1 deletion tests/data/ApiTagTest.php
Expand Up @@ -39,6 +39,9 @@ function bla6()

}

/**
* @api
*/
class Class1
{
/**
Expand Down Expand Up @@ -79,4 +82,4 @@ function bla12()
{

}
}
}

0 comments on commit 55260bb

Please sign in to comment.