cocoon-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From rgard...@apache.org
Subject svn commit: r345149 - in /cocoon/whiteboard/daisy-to-docs/src/documentation: resources/stylesheets/daisy/navigation-to-locationmap.xsl sitemap.xmap
Date Wed, 16 Nov 2005 23:35:51 GMT
Author: rgardler
Date: Wed Nov 16 15:35:41 2005
New Revision: 345149

URL: http://svn.apache.org/viewcvs?rev=345149&view=rev
Log:
force the generation of 2.1/index.html in the place of index.html to ensure there is a home
page where people expect to see it

Modified:
    cocoon/whiteboard/daisy-to-docs/src/documentation/resources/stylesheets/daisy/navigation-to-locationmap.xsl
    cocoon/whiteboard/daisy-to-docs/src/documentation/sitemap.xmap

Modified: cocoon/whiteboard/daisy-to-docs/src/documentation/resources/stylesheets/daisy/navigation-to-locationmap.xsl
URL: http://svn.apache.org/viewcvs/cocoon/whiteboard/daisy-to-docs/src/documentation/resources/stylesheets/daisy/navigation-to-locationmap.xsl?rev=345149&r1=345148&r2=345149&view=diff
==============================================================================
--- cocoon/whiteboard/daisy-to-docs/src/documentation/resources/stylesheets/daisy/navigation-to-locationmap.xsl
(original)
+++ cocoon/whiteboard/daisy-to-docs/src/documentation/resources/stylesheets/daisy/navigation-to-locationmap.xsl
Wed Nov 16 15:35:41 2005
@@ -26,7 +26,7 @@
                 
   <xsl:param name="publisherURL"/>
   <xsl:param name="pathPrefix"/>
-  <xsl:param name="index"/>
+  <xsl:param name="indexSource"/>
                 
   <xsl:template match="/">
     <locationmap>
@@ -44,9 +44,9 @@
           <location src="http://svn.apache.org/repos/asf/cocoon/branches/BRANCH_2_1_X/status.xml"/>
         </match>
      
-       <match pattern="index.xml">
+       <match pattern="project.index.xml">
            <location>
-             <xsl:attribute name="src"><xsl:value-of select="$index"/></xsl:attribute>
+             <xsl:attribute name="src"><xsl:value-of select="$indexSource"/></xsl:attribute>
            </location>
        </match>
      

Modified: cocoon/whiteboard/daisy-to-docs/src/documentation/sitemap.xmap
URL: http://svn.apache.org/viewcvs/cocoon/whiteboard/daisy-to-docs/src/documentation/sitemap.xmap?rev=345149&r1=345148&r2=345149&view=diff
==============================================================================
--- cocoon/whiteboard/daisy-to-docs/src/documentation/sitemap.xmap (original)
+++ cocoon/whiteboard/daisy-to-docs/src/documentation/sitemap.xmap Wed Nov 16 15:35:41 2005
@@ -25,6 +25,7 @@
         <map:transform src="{project:resources.stylesheets}/daisy/navigation-to-locationmap.xsl">
           <map:parameter name="publisherURL" value="http://publish:publish@cocoon.zones.apache.org:9263/publisher/"/>
           <map:parameter name="pathPrefix" value="2.1/"/>
+          <map:parameter name="indexSource" value="cocoon://2.1/index.xml"/>
         </map:transform>
         <map:serialize type="xml"/>
       </map:match>



Mime
View raw message