forrest-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Gav...." <brightoncomput...@brightontown.com.au>
Subject RE: faq-to-document.xsl
Date Wed, 22 Aug 2007 23:50:08 GMT
Hi Thorsten,

Needs more investigation I think.

Our FAQ [1] has a ToC and works just fine.

Gav...

[1] - http://forrest.apache.org/docs_0_90/faq.html



> -----Original Message-----
> From: Thorsten Scherler [mailto:thorsten.scherler.ext@juntadeandalucia.es]
> Sent: Wednesday, 22 August 2007 9:15 PM
> To: dev@forrest.apache.org
> Subject: faq-to-document.xsl
> 
> Hi all,
> 
> the http://issues.apache.org/bugzilla/show_bug.cgi?id=42350 is caused by
> the faq-to-document.xsl:
> ...
> <body>
>         <section>
>           <title>Questions</title>
>           <xsl:apply-templates select="faq|part"/>
>         </section>
>       </body>
> ...
> 
> This causes only one level 1 section:
> <tocitems>
> <tocitem level="1" href="#Questions" title="Questions">
> <tocitem level="2" href="#getting_started" title="1. Getting Started and
> Building Lenya">
> ...
> 
> But if one configures the skinconf toc @min-sections to 2 then it results
> in the above bug.
> 
> I would like to patch it the following way:
> -        <section>
> -          <title>Questions</title>
> -          <xsl:apply-templates select="faq|part"/>
> -        </section>
> +        <xsl:apply-templates select="faq|part"/>
> 
> Did I miss something or can I go ahead and change the code?
> 
> salu2
> --
> Thorsten Scherler                                 thorsten.at.apache.org
> Open Source Java                      consulting, training and solutions
> 
> 
> --
> Internal Virus Database is out-of-date.
> Checked by AVG Free Edition.
> Version: 7.5.476 / Virus Database: 269.11.2/933 - Release Date: 8/2/2007
> 2:22 PM


Mime
View raw message