You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@forrest.apache.org by ni...@apache.org on 2003/10/21 19:21:35 UTC

cvs commit: xml-forrest/src/core/fresh-site/src/documentation skinconf.xml

nicolaken    2003/10/21 10:21:35

  Modified:    src/core/context/skins/krysalis-site/xslt/html
                        document2html.xsl
               src/core/fresh-site/src/documentation skinconf.xml
  Log:
  Change the minitoc conf. Instead of
     menu OR page OR both
  make it
     menu OR page OR menu,page
  
  Revision  Changes    Path
  1.2       +3 -3      xml-forrest/src/core/context/skins/krysalis-site/xslt/html/document2html.xsl
  
  Index: document2html.xsl
  ===================================================================
  RCS file: /home/cvs/xml-forrest/src/core/context/skins/krysalis-site/xslt/html/document2html.xsl,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- document2html.xsl	20 Oct 2003 16:29:05 -0000	1.1
  +++ document2html.xsl	21 Oct 2003 17:21:34 -0000	1.2
  @@ -62,7 +62,7 @@
   
     <xsl:template match="body">
   
  -    <xsl:if test="section and $max-depth&gt;0 and not($notoc='true') and ($minitoc-location='menu' or $minitoc-location='both')">
  +    <xsl:if test="section and $max-depth&gt;0 and not($notoc='true') and contains($minitoc-location,'menu')">
         <toc>
           <xsl:for-each select="section">
             <tocc>
  @@ -91,7 +91,7 @@
         </toc>
       </xsl:if>
       
  -   <xsl:if test="$max-depth&gt;0 and not($notoc='true') and ($minitoc-location='page' or $minitoc-location='both')" >
  +   <xsl:if test="$max-depth&gt;0 and not($notoc='true') and contains($minitoc-location,'page')" >
         <xsl:call-template name="minitoc">
           <xsl:with-param name="tocroot" select="."/>
           <xsl:with-param name="depth">1</xsl:with-param>
  
  
  
  1.2       +1 -1      xml-forrest/src/core/fresh-site/src/documentation/skinconf.xml
  
  Index: skinconf.xml
  ===================================================================
  RCS file: /home/cvs/xml-forrest/src/core/fresh-site/src/documentation/skinconf.xml,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- skinconf.xml	20 Oct 2003 15:38:35 -0000	1.1
  +++ skinconf.xml	21 Oct 2003 17:21:34 -0000	1.2
  @@ -116,7 +116,7 @@
     how many "section" levels need to be included in the
     generated Table of Contents (TOC). By default, if no toc element is provided
     below, then 2 levels are included. Level 0 does not generate any TOC at all.
  -  @location (page,menu,both)
  +  @location ("page","menu","page,menu")
     Where to show the TOC.
     -->
     <toc level="2" location="page"/>