forrest-svn mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From cross...@apache.org
Subject svn commit: r1043333 - /forrest/trunk/main/fresh-site/src/documentation/content/xdocs/samples-b/linking.xml
Date Wed, 08 Dec 2010 08:41:44 GMT
Author: crossley
Date: Wed Dec  8 08:41:44 2010
New Revision: 1043333

URL: http://svn.apache.org/viewvc?rev=1043333&view=rev
Log:
Disable the other "icon-b" example.
The demo shows a broken relative URL which is handled in forrest dynamic mode but not in static
mode.
It is a bit related to FOR-635

Modified:
    forrest/trunk/main/fresh-site/src/documentation/content/xdocs/samples-b/linking.xml

Modified: forrest/trunk/main/fresh-site/src/documentation/content/xdocs/samples-b/linking.xml
URL: http://svn.apache.org/viewvc/forrest/trunk/main/fresh-site/src/documentation/content/xdocs/samples-b/linking.xml?rev=1043333&r1=1043332&r2=1043333&view=diff
==============================================================================
--- forrest/trunk/main/fresh-site/src/documentation/content/xdocs/samples-b/linking.xml (original)
+++ forrest/trunk/main/fresh-site/src/documentation/content/xdocs/samples-b/linking.xml Wed
Dec  8 08:41:44 2010
@@ -490,14 +490,20 @@ which can also be a complete reference
           in examples 1 and 2 and 3. Then Cocoon looks in the normal locations as described
above.
           The source file is found in src/documentation/resources/images/ directory.
         </li>
-        <li><img src="../../images/icon-b.png" alt="Icon" /><code>&lt;img
src="../../images/icon-b.png"</code>
+        <li>
+<!-- FOR-635
+          <img src="../../images/icon-b.png" alt="Icon" />
+-->
+          (Note: This demo is disabled.)
+          <code>&lt;img src="../../images/icon-b.png"</code>
           ... Broken relative reference (it points up beyond the document root).
           Never mind, Forrest "absolutizes" the URLs to be like the URLs in examples 1 and
2 and 3. 
           The source file is found in src/documentation/resources/images/ directory.
-          However there is a problem here. When using Forrest in command-line mode,
+          So it will be handled in Forrest dynamic mode.
+          However there is a problem. When using Forrest in static mode,
           the image will be generated outside the document directory.
           It is better to use absolute /image/ URLs or be very careful about using
-          such relative links (Forrest will not report an error).
+          such relative links.
         </li>
         <li><img src="/images/ellipse-2.png" alt="Icon" />
           <br /><code>&lt;img src="/images/ellipse-2.png"</code>



Mime
View raw message