forrest-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From je...@apache.org
Subject cvs commit: xml-forrest/src/documentation/content/xdocs faq.xml
Date Sun, 19 Jan 2003 11:13:26 GMT
jefft       2003/01/19 03:13:26

  Modified:    src/documentation/content/xdocs faq.xml
  Log:
  Document workaround for index.html assumption in tabs
  
  Revision  Changes    Path
  1.19      +26 -0     xml-forrest/src/documentation/content/xdocs/faq.xml
  
  Index: faq.xml
  ===================================================================
  RCS file: /home/cvs/xml-forrest/src/documentation/content/xdocs/faq.xml,v
  retrieving revision 1.18
  retrieving revision 1.19
  diff -u -r1.18 -r1.19
  --- faq.xml	12 Jan 2003 12:47:03 -0000	1.18
  +++ faq.xml	19 Jan 2003 11:13:26 -0000	1.19
  @@ -26,6 +26,32 @@
   </faq>
   
   <faq>
  +  <question>
  +    The tab link in my site incorrectly assumes that 'index.html' is present in
  +    the linked-to directory. How do I fix this?
  +  </question>
  +  <answer>
  +    <p>
  +      In <code>tabs.xml</code>, use @href instead of @dir, and omit the trailing
  +      '/'. That will leave which file to serve up to the sitemap.  For example, if
  +      the 'User Manual' tab should link to <code>manual/Introduction.html</code>,
  +      <code>tabs.xml</code> should contain:
  +    </p>
  +    <source><![CDATA[
  +      <tab label="User Manual" href="manual"/>
  +      ]]></source>
  +    <p>
  +      and add this rule to the sitemap:
  +    </p>
  +    <source><![CDATA[
  +      <map:match pattern="manual">
  +        <map:redirect-to uri="manual/Introduction.html"/>
  +      </map:match>
  +      ]]></source>
  +  </answer>
  +</faq>
  +
  +<faq>
    <question>
     Why do the generated documents look a little strange?
    </question>
  
  
  

Mime
View raw message