You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@forrest.apache.org by je...@apache.org on 2003/01/04 18:00:24 UTC
cvs commit: xml-forrest/src/resources/fresh-site/src/documentation/content/xdocs sample2.xml book.xml
jefft 2003/01/04 09:00:24
Modified: src/resources/fresh-site/src/documentation/content/xdocs
book.xml
Added: src/resources/fresh-site/src/documentation/content hello.pdf
test1.html test2.html
src/resources/fresh-site/src/documentation/content/xdocs
sample2.xml
Log:
Add some static file examples
Revision Changes Path
1.3 +0 -0 xml-forrest/src/resources/fresh-site/src/documentation/content/hello.pdf
<<Binary file>>
1.1 xml-forrest/src/resources/fresh-site/src/documentation/content/test1.html
Index: test1.html
===================================================================
<html>
<body>
<h1>Test HTML page</h1>
<p>
This raw HTML page is linked to from xdocs/sample2.xml.
</p>
<p>All linked-to pages, like <a href="test2.html">this one</a>, are
also available.
<hr />
[<a href="index.html">Index</a>]
</body>
</html>
1.1 xml-forrest/src/resources/fresh-site/src/documentation/content/test2.html
Index: test2.html
===================================================================
<html>
<h1>Test 2</h1>
<p>
A linked-to-from-HTML page.
<hr />
[<a href="index.html">Index</a>] [<a href="test1.html">test1.html</a>]
</p>
</html>
1.4 +1 -0 xml-forrest/src/resources/fresh-site/src/documentation/content/xdocs/book.xml
Index: book.xml
===================================================================
RCS file: /home/cvs/xml-forrest/src/resources/fresh-site/src/documentation/content/xdocs/book.xml,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -r1.3 -r1.4
--- book.xml 30 Oct 2002 15:15:35 -0000 1.3
+++ book.xml 4 Jan 2003 17:00:24 -0000 1.4
@@ -9,6 +9,7 @@
<menu label="About">
<menu-item label="Index" href="index.html"/>
<menu-item label="Sample page" href="sample.html"/>
+ <menu-item label="More samples" href="sample2.html"/>
<!-- Add new entries here, or in a new menu. Consult the DTD for valid elements -->
<menu-item label="Changes" href="changes.html"/>
<menu-item label="Todo" href="todo.html"/>
1.1 xml-forrest/src/resources/fresh-site/src/documentation/content/xdocs/sample2.xml
Index: sample2.xml
===================================================================
<?xml version="1.0"?>
<!DOCTYPE document PUBLIC "-//APACHE//DTD Documentation V1.1//EN" "document-v11.dtd">
<document>
<header>
<title>The document-v1.1 DTD</title>
<authors><person name="Steven Noels" email="stevenn@apache.org"/>
</authors>
</header>
<body>
<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>
<link href="test1.html"><link href="test1.html/></link>
</p>
</section>
</body>
</document>