You are viewing a plain text version of this content. The canonical link for it is here.
Posted to cvs@cocoon.apache.org by vg...@apache.org on 2003/06/11 04:56:51 UTC

cvs commit: cocoon-2.1/src/documentation sitemap-localdocs.xmap

vgritsenko    2003/06/10 19:56:51

  Modified:    src/documentation sitemap-localdocs.xmap
  Log:
  add a matcher for the "apidocs/" so links in local documentation work
  
  Revision  Changes    Path
  1.3       +13 -6     cocoon-2.1/src/documentation/sitemap-localdocs.xmap
  
  Index: sitemap-localdocs.xmap
  ===================================================================
  RCS file: /home/cvs/cocoon-2.1/src/documentation/sitemap-localdocs.xmap,v
  retrieving revision 1.2
  retrieving revision 1.3
  diff -u -r1.2 -r1.3
  --- sitemap-localdocs.xmap	6 Apr 2003 04:13:22 -0000	1.2
  +++ sitemap-localdocs.xmap	11 Jun 2003 02:56:51 -0000	1.3
  @@ -1,8 +1,13 @@
   <?xml version="1.0"?>
  -<!-- This sitemap is written specifically for rendering Cocoon's docs.  When the
  -Ant 'docs' target is invoked, it will be renamed to sitemap.xmap in a temporary
  -context.  The sitemap.xmap file here is an override of Forrest's -->
  -<!-- $Id$ -->
  +
  +<!--+ 
  +    | This sitemap is written specifically for rendering Cocoon's docs.  When the
  +    | Ant 'docs' target is invoked, it will be renamed to sitemap.xmap in a temporary
  +    | context.  The sitemap.xmap file here is an override of Forrest's.
  +    |
  +    | CVS $Id$
  +    +-->
  +
   <map:sitemap xmlns:map="http://apache.org/cocoon/sitemap/1.0">
   
   <!-- =========================== Components ================================ -->
  @@ -82,6 +87,10 @@
       <map:redirect-to uri="index.html"/>
      </map:match>
   
  +   <map:match pattern="apidocs/**">
  +    <map:read src="../api/java/{1}"/>
  +   </map:match>
  +
     <!-- Process book.xml for nested levels -->
     <map:match pattern="**book-**/*.xml">
       <map:call resource="book">
  @@ -249,7 +258,5 @@
      </map:match>
   
     </map:pipeline>
  -
    </map:pipelines>
  -
   </map:sitemap>