Skip to content

Commit

Permalink
Small changes after running docblox over symfony:
Browse files Browse the repository at this point in the history
- Sorting of the files and functions
- Use the full_name when making the url
  • Loading branch information
benmatselby committed May 5, 2011
1 parent 6d27ce7 commit 528a990
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions data/themes/default/nav.xsl
Expand Up @@ -54,6 +54,7 @@
<div style="padding: 0px;">
<ul id="api-" class="filetree">
<xsl:for-each select="/project/file/*">
<xsl:sort select="./name" />
<xsl:if test="count(./*/docblock/tag[@name='api']) > 0">
<li class="closed">
<span class="{name()}">
Expand All @@ -62,9 +63,10 @@

<ul class="filetree">
<xsl:for-each select="./*/docblock/tag[@name='api']">
<xsl:sort select="../../name" />
<li>
<span class="function">
<a href="{$root}{../../../../@generated-path}#{../../../name}::{../../name}()" target="content">
<a href="{$root}{../../../../@generated-path}#{../../../full_name}::{../../name}()" target="content">
<xsl:value-of select="../../name" />
</a>
</span>
Expand All @@ -76,11 +78,12 @@
<xsl:if test="count(./docblock/tag[@name='api']) > 0">
<li class="closed">
<span class="file">
<xsl:value-of select="./../@path" />
<xsl:value-of select="./name" />
</span>

<ul class="filetree">
<xsl:for-each select="./docblock/tag[@name='api']">
<xsl:sort select="../name" />
<li>
<span class="function">
<a href="{$root}{../../../@generated-path}#{../../name}::{../name}()" target="content">
Expand Down

0 comments on commit 528a990

Please sign in to comment.