incubator-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From rdon...@apache.org
Subject svn commit: r449374 - in /incubator/public/trunk: site-author/stylesheets/site.vsl site-publish/guides/proposal.html
Date Sun, 24 Sep 2006 07:14:40 GMT
Author: rdonkin
Date: Sun Sep 24 00:14:40 2006
New Revision: 449374

URL: http://svn.apache.org/viewvc?view=rev&rev=449374
Log:
Generate better HTML for TOC.

Modified:
    incubator/public/trunk/site-author/stylesheets/site.vsl
    incubator/public/trunk/site-publish/guides/proposal.html

Modified: incubator/public/trunk/site-author/stylesheets/site.vsl
URL: http://svn.apache.org/viewvc/incubator/public/trunk/site-author/stylesheets/site.vsl?view=diff&rev=449374&r1=449373&r2=449374
==============================================================================
--- incubator/public/trunk/site-author/stylesheets/site.vsl (original)
+++ incubator/public/trunk/site-author/stylesheets/site.vsl Sun Sep 24 00:14:40 2006
@@ -68,23 +68,48 @@
 #set ($allSections = $root.getChild("body").getChildren("section"))
 <ul>
 #foreach ( $section in $allSections )
-<li><a href='#$section.getAttributeValue("id")'>$section.getChild("title").getText()</a>
-<ul>
+<li>#if ($section.getAttributeValue("id"))
+<a href='#$section.getAttributeValue("id")'>
+#end
+$section.getChild("title").getText()
+#if ($section.getAttributeValue("id")) </a>
+#end
+#if ( $section.getChildren("section").size() > 0 ) <ul>
 #foreach ( $subsection in $section.getChildren("section") )
-<li><a href='#$subsection.getAttributeValue("id")'>$subsection.getChild("title").getText()</a>
-<ul>
+<li>#if ($subsection.getAttributeValue("id"))
+<a href='#$subsection.getAttributeValue("id")'>
+#end
+$subsection.getChild("title").getText()
+#if ($subsection.getAttributeValue("id")) </a>
+#end
+#if ( $subsection.getChildren("section").size() > 0  ) <ul>
 #foreach ( $subsubsection in $subsection.getChildren("section") )
-<li><a href='#$subsubsection.getAttributeValue("id")'>$subsubsection.getChild("title").getText()</a></li>
-<ul>
+<li>#if ($subsubsection.getAttributeValue("id"))
+<a href='#$subsubsection.getAttributeValue("id")'>
+#end
+$subsubsection.getChild("title").getText()
+#if ($subsubsection.getAttributeValue("id")) </a>
+#end
+#if ( $subsubsection.getChildren("section").size() > 0  ) <ul>
 #foreach ( $subsubsubsection in $subsubsection.getChildren("section") )
-<li><a href='#$subsubsubsection.getAttributeValue("id")'>$subsubsubsection.getChild("title").getText()</a></li>
+<li>#if ($subsubsubsection.getAttributeValue("id"))
+<a href='#$subsubsubsection.getAttributeValue("id")'>
+#end
+$subsubsubsection.getChild("title").getText()
+#if ($subsubsubsection.getAttributeValue("id")) </a>
+#end
+</li>
 #end
 </ul>
 #end
+</li>
+#end
 </ul>
+#end
 </li>
 #end
 </ul>
+#end
 </li>
 #end
 </ul>

Modified: incubator/public/trunk/site-publish/guides/proposal.html
URL: http://svn.apache.org/viewvc/incubator/public/trunk/site-publish/guides/proposal.html?view=diff&rev=449374&r1=449373&r2=449374
==============================================================================
--- incubator/public/trunk/site-publish/guides/proposal.html (original)
+++ incubator/public/trunk/site-publish/guides/proposal.html Sun Sep 24 00:14:40 2006
@@ -87,123 +87,206 @@
 </h3>
 <div class="section-content">
 <ul>
-<li><a href='#preamble'>A Guide To Proposal Creation (DRAFT)</a>
-<ul>
-<li><a href='#TOC'>Contents</a>
-<ul>
-</ul>
-</li>
-<li><a href='#status'>Status - DRAFT</a>
-<ul>
-</ul>
-</li>
-<li><a href='#abstract'>Abstract</a>
-<ul>
-</ul>
-</li>
-<li><a href='#background'>Background</a>
-<ul>
-</ul>
-</li>
-<li><a href='#note-on-improvements'>Continuous Improvement</a>
-<ul>
-</ul>
-</li>
-<li><a href='#help-wanted'>Help Wanted!</a>
-<ul>
-</ul>
-</li>
-</ul>
-</li>
-<li><a href='#formulating'>Formulating A Proposal</a>
-<ul>
-<li><a href='#preparation'>Preparation</a>
-<ul>
-</ul>
-</li>
-<li><a href='#presentation'>Presentation</a>
-<ul>
-</ul>
-</li>
-<li><a href='#developing'>Developing The Proposal</a>
-<ul>
-</ul>
+<li><a href='#preamble'>
+A Guide To Proposal Creation (DRAFT)
+ </a>
+ <ul>
+<li><a href='#TOC'>
+Contents
+ </a>
+</li>
+<li><a href='#status'>
+Status - DRAFT
+ </a>
+</li>
+<li><a href='#abstract'>
+Abstract
+ </a>
+</li>
+<li><a href='#background'>
+Background
+ </a>
+</li>
+<li><a href='#note-on-improvements'>
+Continuous Improvement
+ </a>
+</li>
+<li><a href='#help-wanted'>
+Help Wanted!
+ </a>
+</li>
+</ul>
+</li>
+<li><a href='#formulating'>
+Formulating A Proposal
+ </a>
+ <ul>
+<li><a href='#preparation'>
+Preparation
+ </a>
+</li>
+<li><a href='#presentation'>
+Presentation
+ </a>
+</li>
+<li><a href='#developing'>
+Developing The Proposal
+ </a>
+</li>
+<li><a href='#vote'>
+The Vote
+ </a>
+</li>
+</ul>
+</li>
+<li><a href='#proposal-template'>
+Proposal Template
+ </a>
+ <ul>
+<li><a href='#template'>
+Template
+ </a>
+ <ul>
+<li><a href='#template-abstract'>
+Abstract
+ </a>
+</li>
+<li><a href='#template-proposal'>
+Proposal
+ </a>
+</li>
+<li><a href='#template-background'>
+Background
+ </a>
+</li>
+<li><a href='#template-rationale'>
+Rationale
+ </a>
+</li>
+<li><a href='#template-initial-goals'>
+Initial Goals
+ </a>
+</li>
+<li><a href='#template-current-status'>
+Current Status
+ </a>
+ <ul>
+<li><a href='#template-meritocracy'>
+Meritocracy
+ </a>
+</li>
+<li><a href='#template-community'>
+Community
+ </a>
+</li>
+<li><a href='#template-core-developers'>
+Core Developers
+ </a>
+</li>
+<li><a href='#template-alignment'>
+Alignment
+ </a>
+</li>
+</ul>
+</li>
+<li><a href='#template-known-risks'>
+Known Risks
+ </a>
+ <ul>
+<li><a href='#template-orphaned-products'>
+Orphaned products
+ </a>
+</li>
+<li><a href='#template-inexperience-with-open-source'>
+Inexperience with Open Source
+ </a>
+</li>
+<li><a href='#template-homogenuous-developers'>
+Homogenous Developers
+ </a>
+</li>
+<li><a href='#template-reliance-on-salaried-developers'>
+Reliance on Salaried Developers
+ </a>
+</li>
+<li><a href='#template-other-producrs'>
+Relationships with Other Apache Products
+ </a>
+</li>
+<li><a href='#template-brand-fascination'>
+A Excessive Fascination with the Apache Brand
+ </a>
+</li>
+</ul>
+</li>
+<li><a href='#template-documentation'>
+Documentation
+ </a>
+</li>
+<li><a href='#template-initial-source'>
+Initial Source
+ </a>
+</li>
+<li><a href='#template-ip'>
+Source and Intellectual Property Submission Plan
+ </a>
+</li>
+<li><a href='#template-external-dependencies'>
+External Dependencies
+ </a>
+</li>
+<li><a href='#template-cryptography'>
+Cryptography
+ </a>
+</li>
+<li><a href='#template-required-resources'>
+Required Resources
+ </a>
+ <ul>
+<li><a href='#template-mailing-lists'>
+Mailing lists
+ </a>
+</li>
+<li><a href='#template-subversion-directory'>
+Subversion Directory
+ </a>
+</li>
+<li><a href='#template-issue-tracking'>
+Issue Tracking
+ </a>
+</li>
+<li><a href='#template-other-resources'>
+Other Resources
+ </a>
+</li>
+</ul>
+</li>
+<li><a href='#template-initial-committers'>
+Initial Committers
+ </a>
+</li>
+<li><a href='#template-affiliations'>
+Affiliations
+ </a>
+</li>
+<li><a href='#template-sponsors'>
+Sponsors
+ </a>
+ <ul>
+<li><a href='#template-champion'>
+Champion
+ </a>
+</li>
+<li><a href='#template-mentors'>
+Nominated Mentors
+ </a>
+</li>
+<li><a href='#template-sponsoring-entity'>
+Sponsoring Entity
+ </a>
 </li>
-<li><a href='#vote'>The Vote</a>
-<ul>
 </ul>
 </li>
-</ul>
-</li>
-<li><a href='#proposal-template'>Proposal Template</a>
-<ul>
-<li><a href='#template'>Template</a>
-<ul>
-<li><a href='#template-abstract'>Abstract</a></li>
-<ul>
-</ul>
-<li><a href='#template-proposal'>Proposal</a></li>
-<ul>
-</ul>
-<li><a href='#template-background'>Background</a></li>
-<ul>
-</ul>
-<li><a href='#template-rationale'>Rationale</a></li>
-<ul>
-</ul>
-<li><a href='#template-initial-goals'>Initial Goals</a></li>
-<ul>
-</ul>
-<li><a href='#template-current-status'>Current Status</a></li>
-<ul>
-<li><a href='#template-meritocracy'>Meritocracy</a></li>
-<li><a href='#template-community'>Community</a></li>
-<li><a href='#template-core-developers'>Core Developers</a></li>
-<li><a href='#template-alignment'>Alignment</a></li>
-</ul>
-<li><a href='#template-known-risks'>Known Risks</a></li>
-<ul>
-<li><a href='#template-orphaned-products'>Orphaned products</a></li>
-<li><a href='#template-inexperience-with-open-source'>Inexperience with Open
Source</a></li>
-<li><a href='#template-homogenuous-developers'>Homogenous Developers</a></li>
-<li><a href='#template-reliance-on-salaried-developers'>Reliance on Salaried
Developers</a></li>
-<li><a href='#template-other-producrs'>Relationships with Other Apache Products</a></li>
-<li><a href='#template-brand-fascination'>A Excessive Fascination with the Apache
Brand</a></li>
-</ul>
-<li><a href='#template-documentation'>Documentation</a></li>
-<ul>
-</ul>
-<li><a href='#template-initial-source'>Initial Source</a></li>
-<ul>
-</ul>
-<li><a href='#template-ip'>Source and Intellectual Property Submission Plan</a></li>
-<ul>
-</ul>
-<li><a href='#template-external-dependencies'>External Dependencies</a></li>
-<ul>
-</ul>
-<li><a href='#template-cryptography'>Cryptography</a></li>
-<ul>
-</ul>
-<li><a href='#template-required-resources'>Required Resources</a></li>
-<ul>
-<li><a href='#template-mailing-lists'>Mailing lists</a></li>
-<li><a href='#template-subversion-directory'>Subversion Directory</a></li>
-<li><a href='#template-issue-tracking'>Issue Tracking</a></li>
-<li><a href='#template-other-resources'>Other Resources</a></li>
-</ul>
-<li><a href='#template-initial-committers'>Initial Committers</a></li>
-<ul>
-</ul>
-<li><a href='#template-affiliations'>Affiliations</a></li>
-<ul>
-</ul>
-<li><a href='#template-sponsors'>Sponsors</a></li>
-<ul>
-<li><a href='#template-champion'>Champion</a></li>
-<li><a href='#template-mentors'>Nominated Mentors</a></li>
-<li><a href='#template-sponsoring-entity'>Sponsoring Entity</a></li>
-</ul>
 </ul>
 </li>
 </ul>



---------------------------------------------------------------------
To unsubscribe, e-mail: cvs-unsubscribe@incubator.apache.org
For additional commands, e-mail: cvs-help@incubator.apache.org


Mime
View raw message