+1 for fixing live site but as I would not be the implementor :) ...

On Tuesday, March 24, 2015, Felix Schumacher <
[email protected]> wrote:

> Hi all,
>
> this fixes a problem with links to subsections. Without it you can't jump
> directly to a subsection from the usermanual index.
>
> Should this fix be pushed to the live docs?
>
> Regards
>  Felix
>
> Am 20.03.2015 um 22:39 schrieb [email protected]:
>
>> Author: fschumacher
>> Date: Fri Mar 20 21:39:25 2015
>> New Revision: 1668162
>>
>> URL: http://svn.apache.org/r1668162
>> Log:
>> Generate id attributes for subsections, so that they can be used as link
>> destinations.
>>
>> Bugzilla Id: 53764
>>
>> Modified:
>>      jmeter/trunk/xdocs/stylesheets/website-style.xsl
>>
>> Modified: jmeter/trunk/xdocs/stylesheets/website-style.xsl
>> URL: http://svn.apache.org/viewvc/jmeter/trunk/xdocs/
>> stylesheets/website-style.xsl?rev=1668162&r1=1668161&r2=1668162&view=diff
>> ============================================================
>> ==================
>> --- jmeter/trunk/xdocs/stylesheets/website-style.xsl (original)
>> +++ jmeter/trunk/xdocs/stylesheets/website-style.xsl Fri Mar 20 21:39:25
>> 2015
>> @@ -298,11 +298,13 @@
>>     <xsl:template match="subsection">
>>       <div class="subsection">
>>         <h2>
>> -        <xsl:value-of select="@name" />
>>           <xsl:if test="@anchor">
>>             <xsl:attribute name="id">
>>               <xsl:value-of select="translate(normalize-space(@anchor),
>> ' ' , '_')" />
>>             </xsl:attribute>
>> +        </xsl:if>
>> +        <xsl:value-of select="@name" />
>> +        <xsl:if test="@anchor">
>>             <xsl:call-template name="sectionlink">
>>               <xsl:with-param name="anchor" select="@anchor" />
>>             </xsl:call-template>
>>
>>
>>
>

-- 
Cordialement.
Philippe Mouawad.

Reply via email to