forrest-svn mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From cross...@apache.org
Subject svn commit: r168531 - /forrest/trunk/site-author/content/xdocs/docs/faq.xml
Date Fri, 06 May 2005 06:04:42 GMT
Author: crossley
Date: Thu May  5 23:04:41 2005
New Revision: 168531

URL: http://svn.apache.org/viewcvs?rev=168531&view=rev
Log:
Amend the answer for FAQ "defaultFileName" - projects can use their own cli.xconf file.
Remove superfluous "save the file" instructions.
Remove confusing dots after URLs.

Modified:
    forrest/trunk/site-author/content/xdocs/docs/faq.xml

Modified: forrest/trunk/site-author/content/xdocs/docs/faq.xml
URL: http://svn.apache.org/viewcvs/forrest/trunk/site-author/content/xdocs/docs/faq.xml?rev=168531&r1=168530&r2=168531&view=diff
==============================================================================
--- forrest/trunk/site-author/content/xdocs/docs/faq.xml (original)
+++ forrest/trunk/site-author/content/xdocs/docs/faq.xml Thu May  5 23:04:41 2005
@@ -199,27 +199,24 @@
     </faq>
     <faq id="defaultFileName">
       <question> How can I change the default file name that Forrest will look for
when I request a
-        URL like <code>http://myserver</code> or <code>http://myserver/mydir/</code>?
</question>
+        URL like <code>http://myserver</code> or <code>http://myserver/mydir/</code>
? </question>
       <answer>
-        <p>To change the default file name from 'index.html' (default) to 'overview.htm'
you need to
+        <p>To change the default file name from 'index.html' (default) to 'overview.html'
you need to
           make the following changes:</p>
         <ol>
-          <li> Find and open the file 'cli.xconf' in your forrest program directory
tree </li>
-          <li> Replace 'index.html' in <![CDATA[<default-filename>index.html</default-filename>]]>
+          <li> Create a '<link href="#cli-xconf">cli.xconf</link>' file
for your project </li>
+          <li> Edit that file to replace 'index.html' in
+            <![CDATA[<default-filename>index.html</default-filename>]]>
             with 'overview.html'. </li>
-          <li> Save the changes. </li>
-          <li> Open the file 'sitemap.xmap' in your project's 'src'-directory. </li>
+          <li> Edit the file 'sitemap.xmap' in your project's 'src'-directory. </li>
           <li> Add the following code just before the end of the pipelines-element:<![CDATA[
         <map:pipeline>
           <map:match type="regexp" pattern="^.+/$">
->>           <map:redirect-to uri="overview.html"/>
->>       </map:match>
+             <map:redirect-to uri="overview.html"/>
+         </map:match>
         </map:pipeline>
           ]]></li>
-          <li> Save the changes. </li>
         </ol>
-        <note>Please note that parts of these changes are global and will effect all
your Forrests
-          run from this program directory. </note>
       </answer>
     </faq>
     <faq id="defaultStartPage">
@@ -227,12 +224,12 @@
       <answer>
         <p>Forrest by default assumes that the first page (home page) of your site
is named
           index.html. Which is good because most web servers are configured to look for index.html
-          when you call a url like http://myserver.</p>
+          when you call a url like http://myserver</p>
         <p>Like most settings in Forrest however this can be changed, for example when
you want your
           start-up-page for a CD-based documentation project to be named 'start.html'. </p>
         <p>To change the start page of a site:</p>
         <ol>
-          <li>Open the file 'sitemap.xmap' in your project's src-directory.</li>
+          <li>Edit the file 'sitemap.xmap' in your project's src-directory.</li>
           <li>Add the following code just before the end of the pipelines-element:<![CDATA[
         <map:pipeline>
           <map:match pattern="">
@@ -241,7 +238,7 @@
         </map:pipeline>
           ]]></li>
           <li>Name the uri-attribute whatever you'd like your start page to be.</li>
-          <li>Don't forget to create that page and refer to it in your site.xml!</li>
+          <li>Don't forget to create that page and refer to it in your site.xml</li>
         </ol>
       </answer>
     </faq>



Mime
View raw message