Return-Path: Delivered-To: apmail-xml-forrest-dev-archive@www.apache.org Received: (qmail 55637 invoked from network); 20 Mar 2004 15:52:42 -0000 Received: from daedalus.apache.org (HELO mail.apache.org) (208.185.179.12) by minotaur-2.apache.org with SMTP; 20 Mar 2004 15:52:42 -0000 Received: (qmail 31391 invoked by uid 500); 20 Mar 2004 15:52:36 -0000 Delivered-To: apmail-xml-forrest-dev-archive@xml.apache.org Received: (qmail 31349 invoked by uid 500); 20 Mar 2004 15:52:36 -0000 Mailing-List: contact forrest-cvs-help@xml.apache.org; run by ezmlm Precedence: bulk list-help: list-unsubscribe: list-post: Reply-To: forrest-dev@xml.apache.org Delivered-To: mailing list forrest-cvs@xml.apache.org Received: (qmail 31331 invoked from network); 20 Mar 2004 15:52:36 -0000 Received: from unknown (HELO minotaur.apache.org) (209.237.227.194) by daedalus.apache.org with SMTP; 20 Mar 2004 15:52:36 -0000 Received: (qmail 55607 invoked by uid 65534); 20 Mar 2004 15:52:41 -0000 Date: 20 Mar 2004 15:52:41 -0000 Message-ID: <20040320155241.55602.qmail@minotaur.apache.org> From: cheche@apache.org To: forrest-cvs@xml.apache.org Subject: svn commit: rev 9655 - in xml/forrest/trunk: . src/core/context/resources/schema/relaxng src/core/context/skins/common/xslt/html src/core/fresh-site/src/documentation X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N Author: cheche Date: Sat Mar 20 07:52:39 2004 New Revision: 9655 Modified: xml/forrest/trunk/src/core/context/resources/schema/relaxng/skinconf.rnc xml/forrest/trunk/src/core/context/skins/common/xslt/html/document2html.xsl xml/forrest/trunk/src/core/fresh-site/src/documentation/skinconf.xml xml/forrest/trunk/status.xml Log: Do not create TOC unless it has been define on the skinconf Change level attribute to max-depth attribute. Add a min-sections attribute to define a minimun number of sections before create a toc. Modified: xml/forrest/trunk/src/core/context/resources/schema/relaxng/skinconf.rnc ============================================================================== --- xml/forrest/trunk/src/core/context/resources/schema/relaxng/skinconf.rnc (original) +++ xml/forrest/trunk/src/core/context/resources/schema/relaxng/skinconf.rnc Sat Mar 20 07:52:39 2004 @@ -43,7 +43,10 @@ element year {text}?, # Used in Copyright element vendor {text}?, # Used in Copyright trail?, # 'Breadcrumbs' trail in skins that support it - element toc {attribute level {text}, attribute location {string}}?, # toc generation + element toc {(attribute max-depth {text}?, + attribute min-sections {text}?, + attribute location {string})}?, # toc generation + element headings {attribute type {text}}?, # heading style colors?, # colors element extra-css {text}?, # extra css to be included in the CSS output Modified: xml/forrest/trunk/src/core/context/skins/common/xslt/html/document2html.xsl ============================================================================== --- xml/forrest/trunk/src/core/context/skins/common/xslt/html/document2html.xsl (original) +++ xml/forrest/trunk/src/core/context/skins/common/xslt/html/document2html.xsl Sat Mar 20 07:52:39 2004 @@ -43,8 +43,6 @@ - - @@ -52,16 +50,6 @@ - - - - - - - 2 - - - @@ -175,7 +163,7 @@ - + 1 @@ -362,12 +350,12 @@ - +
  • - + Modified: xml/forrest/trunk/src/core/fresh-site/src/documentation/skinconf.xml ============================================================================== --- xml/forrest/trunk/src/core/fresh-site/src/documentation/skinconf.xml (original) +++ xml/forrest/trunk/src/core/fresh-site/src/documentation/skinconf.xml Sat Mar 20 07:52:39 2004 @@ -76,7 +76,8 @@ - + @@ -171,14 +172,15 @@ - + Modified: xml/forrest/trunk/status.xml ============================================================================== --- xml/forrest/trunk/status.xml (original) +++ xml/forrest/trunk/status.xml Sat Mar 20 07:52:39 2004 @@ -45,6 +45,12 @@ + Do not create TOC unless it has been define on the skinconf. + Change level attribute to max-depth attribute. + Add a min-sections attribute to define a minimun number of sections + before create a toc. + + Add Language alternativates div. To test it: i18n-foo.html