donaldp 2002/06/13 01:39:47
Modified: src/xdocs/stylesheets docs.vsl templates.vm
Log:
Update xml docs to look like the rest of the docs at Jakarta
Revision Changes Path
1.4 +5 -5 jakarta-avalon-phoenix/src/xdocs/stylesheets/docs.vsl
Index: docs.vsl
===================================================================
RCS file: /home/cvs/jakarta-avalon-phoenix/src/xdocs/stylesheets/docs.vsl,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -r1.3 -r1.4
--- docs.vsl 26 May 2002 20:46:17 -0000 1.3
+++ docs.vsl 13 Jun 2002 08:39:47 -0000 1.4
@@ -144,12 +144,12 @@
## print html <title/> info
#macro (getTitle)
- <title>$project.getChild("title").getText() -
$root.getChild("header").getChild("title").getText()</title>
+ <title>$project.getChild("title").getText() -
$root.getChild("properties").getChild("title").getText()</title>
#end
## print html <meta author=""/> info
#macro (getAuthors)
- #set ($authors = $root.getChild("header").getChildren("author"))
+ #set ($authors = $root.getChild("properties").getChildren("author"))
#foreach ( $au in $authors )
#metaAuthor ( $au.getAttributeValue("name")
$au.getAttributeValue("email") )
#end
@@ -163,7 +163,7 @@
## print html <style/> info
#macro (getStylesheet)
- <link rel="stylesheet" type="text/css"
href="./common.css" />
+ <link rel="stylesheet" type="text/css"
href="$relativePath/common.css" />
#end
## print html for the page header
@@ -259,7 +259,7 @@
#macro (getContents)
<div id="contents">
- <h1>$project.getChild("title").getText() -
$root.getChild("header").getChild("title").getText()</h1>
+ <h1>$project.getChild("title").getText() -
$root.getChild("properties").getChild("title").getText()</h1>
#set ($allSections = $root.getChild("body").getChildren("section"))
#foreach ( $section in $allSections )
@@ -271,7 +271,7 @@
#macro (getAuthorList)
<div id="authors">by
- #set ($authors = $root.getChild("header").getChildren("author"))
+ #set ($authors = $root.getChild("properties").getChildren("author"))
#foreach ( $au in $authors )
<a
href="$au.getAttributeValue("email")">$au.getAttributeValue("name")</a>,
#end
1.3 +4 -4 jakarta-avalon-phoenix/src/xdocs/stylesheets/templates.vm
Index: templates.vm
===================================================================
RCS file:
/home/cvs/jakarta-avalon-phoenix/src/xdocs/stylesheets/templates.vm,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -r1.2 -r1.3
--- templates.vm 23 May 2002 11:43:13 -0000 1.2
+++ templates.vm 13 Jun 2002 08:39:47 -0000 1.3
@@ -149,12 +149,12 @@
<head>
<meta http-equiv="Content-Type" content="text/html;
charset=iso-8859-1"/>
- #set ($authors = $root.getChild("header").getChildren("author"))
+ #set ($authors = $root.getChild("properties").getChildren("author"))
#foreach ( $au in $authors )
#metaauthor ( $au.getAttributeValue("name")
$au.getAttributeValue("email") )
#end
- <title>$project.getChild("title").getText() -
$root.getChild("header").getChild("title").getText()</title>
+ <title>$project.getChild("title").getText() -
$root.getChild("properties").getChild("title").getText()</title>
</head>
<body bgcolor="$bodybg" text="$bodyfg" link="$bodylink">
@@ -178,7 +178,7 @@
<td align="left" valign="top">
<table width="100%"><tr><td bgcolor="$bannerfg">
<center><b><font face="arial,helvetica,sanserif" size="+2">
- $project.getChild("title").getText() -
$root.getChild("header").getChild("title").getText()
+ $project.getChild("title").getText() -
$root.getChild("properties").getChild("title").getText()
</font></b></center>
</td></tr></table>
<br />
@@ -191,7 +191,7 @@
<tr><td colspan="2">
<div align="right">
<font size="-2" face="arial,helvetica,sanserif">
- #set ($authors = $root.getChild("header").getChildren("author"))
+ #set ($authors =
$root.getChild("properties").getChildren("author"))
by
#foreach ( $au in $authors )
$au.getAttributeValue("name")
--
To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>