forrest-svn mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From brond...@apache.org
Subject svn commit: rev 23046 - in forrest/trunk/src/documentation/content/xdocs: docs howto
Date Mon, 19 Jul 2004 02:27:32 GMT
Author: brondsem
Date: Sun Jul 18 19:27:32 2004
New Revision: 23046

Modified:
   forrest/trunk/src/documentation/content/xdocs/docs/linking.xml
   forrest/trunk/src/documentation/content/xdocs/docs/sitemap-ref.xml
   forrest/trunk/src/documentation/content/xdocs/howto/howto-pdf-tab.xml
Log:
fix broken links

Modified: forrest/trunk/src/documentation/content/xdocs/docs/linking.xml
==============================================================================
--- forrest/trunk/src/documentation/content/xdocs/docs/linking.xml	(original)
+++ forrest/trunk/src/documentation/content/xdocs/docs/linking.xml	Sun Jul 18 19:27:32 2004
@@ -23,7 +23,6 @@
 <document>
   <header>
     <title>Menus and Linking</title>
-    <version>$Revision: 1.13 $</version>
   </header>
 
   <body>
@@ -234,7 +233,7 @@
           everything in the <strong>&lt;about&gt;</strong> section has
an implicit
           <code>tab="home"</code>.</p>
         <note>You can see this by viewing your site's 
-        <link href="abs-menulinks">abs-menulinks</link> pipeline in a
+        <link href="../abs-menulinks">abs-menulinks</link> pipeline in a
           browser.</note>
         <p>Say that the user is viewing the <code>linking.html</code>
           page.  The <strong>&lt;linking&gt;</strong> node has an implicit
tab

Modified: forrest/trunk/src/documentation/content/xdocs/docs/sitemap-ref.xml
==============================================================================
--- forrest/trunk/src/documentation/content/xdocs/docs/sitemap-ref.xml	(original)
+++ forrest/trunk/src/documentation/content/xdocs/docs/sitemap-ref.xml	Sun Jul 18 19:27:32
2004
@@ -22,7 +22,6 @@
 <document>
   <header>
     <title>Forrest Sitemap Reference</title>
-    <version>$Revision: 1.6 $</version>
   </header>
   <body>
     <p>
@@ -169,10 +168,10 @@
       </p>
       <p>
         Source pipelines always have a <code>.xml</code> extension.  Thus, 
-        <link href="index.xml">index.xml</link> gives you the XML source for
the
-        index page.  Likewise, <link href="faq.xml">faq.xml</link> gives you
XML
+        <link href="../index.xml">index.xml</link> gives you the XML source for
the
+        index page.  Likewise, <link href="../faq.xml">faq.xml</link> gives you
XML
         for the FAQ (transformed from FAQ syntax), and 
-        <link href="changes.xml">changes.xml</link> returns XML from status.xml.
+        <link href="../changes.xml">changes.xml</link> returns XML from status.xml.
         Take any page, and replace its extension (<code>.html</code> or
         <code>.pdf</code>) with <code>.xml</code>, and you'll have
the Source
         XML.
@@ -204,21 +203,27 @@
           <link href="site:cap">SourceTypeAction</link> to work out the type
of XML
           it is processing, and converts it to doc-v12 if necessary.
         </p>
-        <p>For instance, say we are rendering <link href="site:multi-page/step1">a
-            Howto document</link> called 'step1.xml'.  It contains this DOCTYPE
+        <p>For instance, say we are rendering <link href="site:write-howto">a
+            Howto document</link> called 'howto-howto.xml'.  It contains this DOCTYPE
           declaration:</p>
-        <source>&lt;!DOCTYPE howto PUBLIC "-//APACHE//DTD How-to V1.0//EN" "howto-v10.dtd"></source>
+        <source>&lt;!DOCTYPE howto PUBLIC "-//APACHE//DTD How-to V1.2//EN" "http://forrest.apache.org/dtd/howto-v12.dtd"></source>
         <p>The SourceTypeAction sees this, and applies this transform to get it
           to doc-v12:</p>
         <source><![CDATA[
-          <map:when test="howto-v10">
-            <map:transform src="resources/stylesheets/howto2document.xsl" />
+          <map:when test="howto-v12">
+            <map:transform src="{forrest:stylesheets}/howto2document.xsl" />
           </map:when>
           ]]></source>
+          <!--
+    if we link to an intermediate .xml file, the CLI crawler tries
+    to fetch the @hrefs from it but they still have site: in them 
+    which causes it to break
+    
         <p>
           The intermediate result is visible at the URL 
-          <link href="site:multi-page/step1">community/howto/multi/step1.xml</link>.
+          <link href="../howto/howto-howto.xml">howtos/howto-howto.xml</link>.
         </p>
+    -->
       </section>
       <section>
         <title>Other source pipelines</title>
@@ -342,10 +347,10 @@
           &lt;/map:match&gt;
         </source>
         <p>
-          So <link href="index.html">index.html</link> is formed from
-          aggregating <link href="body-index.html">body-index.html</link>, 
-          <link href="menu-index.html">menu-index.html</link> and 
-          <link href="tab-index.html">tab-index.html</link>, and then applying
the
+          So <link href="../index.html">index.html</link> is formed from
+          aggregating <link href="../body-index.html">body-index.html</link>,

+          <link href="../menu-index.html">menu-index.html</link> and 
+          <link href="../tab-index.html">tab-index.html</link>, and then applying
the
           <code>site2xhtml.xsl</code> stylesheet to the result.
         </p>
         <p>
@@ -740,8 +745,7 @@
             ]]></source>
           <p>You can try these URIs out directly on a live Forrest to see what
             is going on (for example, Forrest's own 
-            <link href="abs-linkmap">abs-linkmap</link> and 
-            <link href="linkmap-index.html">linkmap-index.html</link>.
+            <link href="../abs-linkmap">abs-linkmap</link>).
           </p>
         </section>
       </section>

Modified: forrest/trunk/src/documentation/content/xdocs/howto/howto-pdf-tab.xml
==============================================================================
--- forrest/trunk/src/documentation/content/xdocs/howto/howto-pdf-tab.xml	(original)
+++ forrest/trunk/src/documentation/content/xdocs/howto/howto-pdf-tab.xml	Sun Jul 18 19:27:32
2004
@@ -45,7 +45,7 @@
   <prerequisites title="Prerequisites">
     <ul>
       <li>Understand how to create project-specific sitemaps by following the
-      <link href="site-your-project">Using Forrest</link> document.</li>
+      <link href="site:your-project">Using Forrest</link> document.</li>
     </ul>
   </prerequisites>
 

Mime
View raw message