You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@maven.apache.org by ka...@apache.org on 2003/02/20 23:04:03 UTC

cvs commit: jakarta-turbine-maven/src/plugins-build/xdoc/xdocs index.xml

kaz         2003/02/20 14:04:03

  Modified:    src/plugins-build/xdoc/src/plugin-resources site.jsl
               src/plugins-build/xdoc/xdocs index.xml
  Log:
  Applying patch from Martin van den Bemt <ml...@mvdb.net>.  Adds a new
  optionally footer section and corrects the copyright symbol.  Thanks
  Martin.
  
  Revision  Changes    Path
  1.8       +8 -3      jakarta-turbine-maven/src/plugins-build/xdoc/src/plugin-resources/site.jsl
  
  Index: site.jsl
  ===================================================================
  RCS file: /home/cvs/jakarta-turbine-maven/src/plugins-build/xdoc/src/plugin-resources/site.jsl,v
  retrieving revision 1.7
  retrieving revision 1.8
  diff -u -r1.7 -r1.8
  --- site.jsl	18 Feb 2003 10:59:37 -0000	1.7
  +++ site.jsl	20 Feb 2003 22:04:02 -0000	1.8
  @@ -395,19 +395,24 @@
           </table>
           <div id="footer">
             <table border="0" cellspacing="0" cellpadding="4">
  +           <tr>
  +            <td>
  +              <jsl:applyTemplates select="$nav/body/footer"/>
  +             </td>
  +           </tr>
               <tr>
                 <td>
                   <j:if test="${!empty(pom.organization.name)}">
                     <j:if test="${!empty(pom.inceptionYear)}">
                       <j:if test="${pom.inceptionYear == mavenCurrentYear}">
  -                      <!-- FIXME &copy; -->${mavenCurrentYear}, ${pom.organization.name}
  +                      &#169; ${mavenCurrentYear}, ${pom.organization.name}
                       </j:if>
                       <j:if test="${pom.inceptionYear != mavenCurrentYear}">
  -                      <!-- FIXME &copy; --> ${pom.inceptionYear}-${mavenCurrentYear}, ${pom.organization.name}
  +                      &#169; ${pom.inceptionYear}-${mavenCurrentYear}, ${pom.organization.name}
                       </j:if>
                     </j:if>
                     <j:if test="${empty(pom.inceptionYear)}">
  -                    <!-- FIXME &copy; --> ${mavenCurrentYear}, ${pom.organization.name}
  +                    &#169; ${mavenCurrentYear}, ${pom.organization.name}
                     </j:if>
                   </j:if>
   
  
  
  
  1.2       +17 -1     jakarta-turbine-maven/src/plugins-build/xdoc/xdocs/index.xml
  
  Index: index.xml
  ===================================================================
  RCS file: /home/cvs/jakarta-turbine-maven/src/plugins-build/xdoc/xdocs/index.xml,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- index.xml	24 Jan 2003 03:45:03 -0000	1.1
  +++ index.xml	20 Feb 2003 22:04:03 -0000	1.2
  @@ -13,7 +13,7 @@
           the Maven documentation.
         </p>
         <p>
  -      The documentation is in <code>Anakia</code> format. More information
  +      The documentation is mainly in <code>Anakia</code> format. More information
         along with samples, can be found at:
         <ul>
           <li>
  @@ -23,6 +23,22 @@
             <a href="http://jakarta.apache.org/site/jakarta-site-tags-example.html">examples of the tags</a>
           </li>
         </ul>
  +      </p>
  +      <p>
  +        There is addition to the anakia format. You can use the <code>footer</code> tag for including
  +        text or images just below the navigation menu and above the copyright notice. 
  +        This tag is only usefull in the navigation.xml file.<br/>
  +        Here is an example : <br/>
  +        <source><![CDATA[  
  +   <!-- footer will be placed above the (c) -->
  +   <footer>
  +    <A href="http://sourceforge.net/projects/ctecl">
  +      <IMG src="http://sourceforge.net/sflogo.php?group_id=72748" border="0" alt="sf logo"/>
  +    </A>
  +   </footer>
  +               ]]></source>
  +              <br/>
  +               The footer should be placed within the body element.
         </p>
       </section>
    </body>