You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@forrest.apache.org by cr...@apache.org on 2003/05/30 11:12:46 UTC
cvs commit: xml-forrest/src/resources/fresh-site/src/documentation/content/xdocs sample2.xml
crossley 2003/05/30 02:12:45
Modified: src/documentation/content/xdocs faq.xml
src/resources/fresh-site/src/documentation/content/xdocs
sample2.xml
Log:
Explain how to link to static raw files.
Revision Changes Path
1.33 +15 -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.32
retrieving revision 1.33
diff -u -r1.32 -r1.33
--- faq.xml 25 May 2003 05:36:43 -0000 1.32
+++ faq.xml 30 May 2003 09:12:45 -0000 1.33
@@ -124,6 +124,21 @@
</answer>
</faq>
+ <faq id="link_raw">
+ <question>How do i link to raw files such as config.txt and
+ brochure.html?
+ </question>
+ <answer>
+ <p>
+ Place them in the <code>src/documentation/content</code> directory
+ and they will get copied into the output tree where you can link to
+ them. You can also have sub-directories there to reflect your xdocs
+ tree. See the samples documents when you 'forrest seed' a new
+ project for a demonstration of this ability.
+ </p>
+ </answer>
+ </faq>
+
<faq id="pdf_images">
<question>Image don't display in PDFs. How do I fix this?</question>
<answer>
1.4 +11 -4 xml-forrest/src/resources/fresh-site/src/documentation/content/xdocs/sample2.xml
Index: sample2.xml
===================================================================
RCS file: /home/cvs/xml-forrest/src/resources/fresh-site/src/documentation/content/xdocs/sample2.xml,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -r1.3 -r1.4
--- sample2.xml 24 Apr 2003 09:10:32 -0000 1.3
+++ sample2.xml 30 May 2003 09:12:45 -0000 1.4
@@ -10,11 +10,18 @@
<section>
<title>Miscellanea</title>
<p>
- You can include raw HTML, PDFs and other files in Forrest output by
- placing them in <code>src/documentation/content</code>. They will be
- copied over automatically, and you can link to them as normal, eg <link
- href="hello.pdf"><link href="hello.pdf"/></link>
+ You can include raw HTML, PDFs, plain-text, and other files in Forrest
+ output by placing them in <code>src/documentation/content</code> and
+ they will be copied over automatically. You can then link to them as
+ normal, e.g.
+ <link href="hello.pdf"><link href="hello.pdf"/></link> and
<link href="test1.html"><link href="test1.html/></link>
+ </p>
+ <p>
+ You can also have sub-directories such as
+ <code>src/documentation/content/connectors</code> which reflects your
+ <code>xdocs/connectors</code> tree. The raw files will then end up
+ beside your documents.
</p>
</section>
</body>