Skip to content

Commit

Permalink
Add support for rich descriptions of variables, constants and properties
Browse files Browse the repository at this point in the history
  • Loading branch information
daniel-ac-martin committed Apr 18, 2015
1 parent 61d6615 commit 381a3ef
Showing 1 changed file with 10 additions and 1 deletion.
11 changes: 10 additions & 1 deletion src/templates/phpnet.xsl
Original file line number Diff line number Diff line change
Expand Up @@ -750,6 +750,7 @@
<xsl:with-param name="name" select="@name" />
</xsl:call-template>
</xsl:with-param>
<xsl:with-param name="namespace" select="$namespace" />
</xsl:call-template>
</xsl:for-each>
</variablelist>
Expand All @@ -771,6 +772,7 @@
<xsl:with-param name="name" select="@name" />
</xsl:call-template>
</xsl:with-param>
<xsl:with-param name="namespace" select="$namespace" />
</xsl:call-template>
</xsl:for-each>
</variablelist>
Expand Down Expand Up @@ -990,6 +992,7 @@
<xsl:call-template name="variable-sub-listentry">
<xsl:with-param name="class-name" select="''" />
<xsl:with-param name="id" select="''" />
<xsl:with-param name="namespace" select="$namespace" />
</xsl:call-template>
</variablelist>
</refsect1>
Expand Down Expand Up @@ -1172,6 +1175,7 @@
<xsl:template name="variable-sub-listentry">
<xsl:param name="class-name" />
<xsl:param name="id" />
<xsl:param name="namespace" select="''" />
<xsl:variable name="maybe-class-name">
<xsl:if test="$class-name != ''"><xsl:value-of select="$class-name" /><xsl:value-of select="$namespace-delimiter" /></xsl:if>
</xsl:variable>
Expand All @@ -1190,7 +1194,12 @@
</xsl:choose>
</term>
<listitem>
<para><xsl:value-of select="." /></para>
<para>
<xsl:call-template name="description">
<xsl:with-param name="description" select="." />
<xsl:with-param name="namespace" select="$namespace" />
</xsl:call-template>
</para>
</listitem>
</varlistentry>
</xsl:template>
Expand Down

0 comments on commit 381a3ef

Please sign in to comment.