You are viewing a plain text version of this content. The canonical link for it is here.
Posted to cvs@depot.apache.org by ni...@apache.org on 2004/02/04 07:24:33 UTC

svn commit: rev 6485 - incubator/depot/trunk/site/src/documentation/content/xdocs

Author: nickchalko
Date: Tue Feb  3 23:24:33 2004
New Revision: 6485

Added:
   incubator/depot/trunk/site/src/documentation/content/xdocs/index.xml
   incubator/depot/trunk/site/src/documentation/content/xdocs/site.xml
   incubator/depot/trunk/site/src/documentation/content/xdocs/tabs.xml
Log:
Initial stripped down forrest seed site.

Added: incubator/depot/trunk/site/src/documentation/content/xdocs/index.xml
==============================================================================
--- (empty file)
+++ incubator/depot/trunk/site/src/documentation/content/xdocs/index.xml	Tue Feb  3 23:24:33 2004
@@ -0,0 +1,17 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE document PUBLIC "-//APACHE//DTD Documentation V1.2//EN" "http://apache.org/forrest/dtd/document-v12.dtd">
+<document> 
+  <header> 
+    <title>Welcome to MyProj</title> 
+  </header> 
+  <body> 
+    <section>
+      <title>Congratulations</title>
+      <p>You have successfully generated and rendered an <link
+          href="ext:forrest">Apache Forrest</link> site.
+        This page is from the site template. It is found in
+        <code>my-site/src/documentation/content/xdocs/index.xml</code>
+        Please edit it and replace this text with content of your own.</p>
+    </section>
+  </body>
+</document>

Added: incubator/depot/trunk/site/src/documentation/content/xdocs/site.xml
==============================================================================
--- (empty file)
+++ incubator/depot/trunk/site/src/documentation/content/xdocs/site.xml	Tue Feb  3 23:24:33 2004
@@ -0,0 +1,64 @@
+<?xml version="1.0"?>
+
+<!--
+Forrest site.xml
+
+This file contains an outline of the site's information content.  It is used to:
+- Generate the website menus (though these can be overridden - see docs)
+- Provide semantic, location-independent aliases for internal 'site:' URIs, eg
+<link href="site:changes"> links to changes.html (or ../changes.html if in
+  subdir).
+- Provide aliases for external URLs in the external-refs section.  Eg, <link
+  href="ext:cocoon"> links to http://xml.apache.org/cocoon/ 
+
+See http://xml.apache.org/forrest/linking.html for more info
+-->
+
+<site label="MyProj" href="" xmlns="http://apache.org/forrest/linkmap/1.0" tab="">
+
+  <about label="About">
+    <index label="Index" href="index.html" description="Welcome to MyProj"/>
+    <changes label="Changes" href="changes.html" description="History of Changes" />
+    <todo label="Todo" href="todo.html"  description="Todo List" />
+  </about>
+
+  <samples label="Samples" href="samples/" tab="samples">
+    <sample label="Apache document page" href="sample.html" 
+      description="A nonsense document using all possible elements in the current document">
+      <top href="#top"/>
+      <section href="#section"/>
+    </sample>
+    <sample2 label="Static content" href="sample2.html" 
+      description="More Samples" />
+    <sample-wiki label="Wiki page" href="wiki-sample.html" 
+      description="wiki-sample" />
+    <sample-ihtml label="ihtml page" href="ihtml-sample.html" 
+      description="Test iHTML page" />
+    <sample-ehtml label="ehtml page" href="ehtml-sample.html" 
+      description="Sample HTML page" />
+    <faq label="FAQ" href="faq.html" description="Frequently Asked Questions" />
+    <sdocbook label="Simplifed Docbook page" href="sdocbook.html" 
+      description="Simplified DocBook title" />
+    <subdir label="Subdir" href="subdir/">
+      <index label="Index" href="index.html" 
+        description="Page generated from a subdirectory"/>
+    </subdir>
+  </samples>
+
+  <all>
+    <whole_site_html label="Whole Site HTML" href="site.html"/>
+    <whole_site_html label="Whole Site PDF" href="site.pdf"/>
+  </all>
+
+  <external-refs>
+    <xml.apache.org href="http://xml.apache.org/">
+      <forrest href="forrest/">
+        <validation href="validation.html"/>
+        <webapp href="your-project.html#webapp"/>
+        <document-v11 href="document-v11.html"/>
+      </forrest>
+      <cocoon href="cocoon/"/>
+    </xml.apache.org>
+  </external-refs>
+
+</site>

Added: incubator/depot/trunk/site/src/documentation/content/xdocs/tabs.xml
==============================================================================
--- (empty file)
+++ incubator/depot/trunk/site/src/documentation/content/xdocs/tabs.xml	Tue Feb  3 23:24:33 2004
@@ -0,0 +1,24 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE tabs PUBLIC "-//APACHE//DTD Cocoon Documentation Tab V1.0//EN" "http://apache.org/forrest/dtd/tab-cocoon-v10.dtd">
+
+<tabs software="MyProj"
+  title="MyProj"
+  copyright="Foo"
+  xmlns:xlink="http://www.w3.org/1999/xlink">
+
+  <!-- The rules are:
+    @dir will always have '/@indexfile' added.
+    @indexfile gets appended to @dir if the tab is selected. Defaults to 'index.html'
+    @href is not modified unless it is root-relative and obviously specifies a
+    directory (ends in '/'), in which case /index.html will be added
+    If @id's are present, site.xml entries with a matching @tab will be in that tab.
+  -->
+
+  <tab id="" label="Home" dir="" indexfile="index.html"/>
+  <tab id="samples" label="Samples" dir="samples" indexfile="sample.html"/>
+  <!-- Add new tabs here, eg:
+  <tab label="How-Tos" dir="community/howto/"/>
+  <tab label="XML Site" dir="xml-site/"/>
+  -->
+
+</tabs>