You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tomcat.apache.org by pi...@apache.org on 2002/05/05 04:24:26 UTC

cvs commit: jakarta-tomcat-connectors/webapp/docs index.xml style.xsl

pier        02/05/04 19:24:26

  Modified:    webapp   build.xml
               webapp/docs index.xml style.xsl
  Log:
  Java API documentation as well.
  
  Revision  Changes    Path
  1.4       +7 -6      jakarta-tomcat-connectors/webapp/build.xml
  
  Index: build.xml
  ===================================================================
  RCS file: /home/cvs/jakarta-tomcat-connectors/webapp/build.xml,v
  retrieving revision 1.3
  retrieving revision 1.4
  diff -u -r1.3 -r1.4
  --- build.xml	5 May 2002 02:02:17 -0000	1.3
  +++ build.xml	5 May 2002 02:24:26 -0000	1.4
  @@ -3,7 +3,7 @@
   
   <!--
           "Coyote" connector framework for Jakarta Tomcat
  -        $Id: build.xml,v 1.3 2002/05/05 02:02:17 pier Exp $
  +        $Id: build.xml,v 1.4 2002/05/05 02:24:26 pier Exp $
   -->
   
   
  @@ -127,7 +127,7 @@
       <mkdir dir="${build.home}/classes"/>
       <mkdir dir="${build.home}/conf"/>
       <mkdir dir="${build.home}/docs"/>
  -    <mkdir dir="${build.home}/docs/api"/>
  +    <mkdir dir="${build.home}/docs/api-java"/>
       <mkdir dir="${build.home}/lib"/>
       <mkdir dir="${build.home}/tests"/>
       <available property="tomcat4.detect" file="${catalina.home}/server/lib/catalina.jar" />
  @@ -188,10 +188,10 @@
      description="Clean and compile all components"/>
   
   
  -  <target name="javadoc"
  -   description="Create component Javadoc documentation">
  +  <target name="javadoc" depends="prepare"
  +   description="Create Java API documentation">
       <javadoc sourcepath="${source.home}"
  -                destdir="${build.home}/docs/api"
  +                destdir="${build.home}/docs/api-java"
              packagenames="org.apache.*"
                    author="true"
                   private="true"
  @@ -203,7 +203,8 @@
       </javadoc>
     </target>
   
  -  <target name="docs" depends="prepare">
  +  <target name="docs" depends="javadoc"
  +   description="Create Documentation">
       <copy todir="${build.home}/docs" >
         <fileset dir="./docs">
           <exclude name="**.xml"/>
  
  
  
  1.2       +30 -4     jakarta-tomcat-connectors/webapp/docs/index.xml
  
  Index: index.xml
  ===================================================================
  RCS file: /home/cvs/jakarta-tomcat-connectors/webapp/docs/index.xml,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- index.xml	5 May 2002 01:58:22 -0000	1.1
  +++ index.xml	5 May 2002 02:24:26 -0000	1.2
  @@ -1,7 +1,33 @@
   <?xml version="1.0"?>
   
  -<document title="Introduction" description="The WebApp Module for the Apache Web Server">
  -  <section title="Description" description="What is the WebApp Module"/>
  -  <section title="Purpose" description="Why should I use the WebApp Module?"/>
  -  <section title="Alternatives" description="Are there alternative ways to connect Apache and Tomcat?"/>
  +<document title="Introduction">
  +  <description>
  +    The WebApp Module for the Apache Web Server
  +  </description>
  +
  +  <section title="Description">
  +    <description>
  +      What is the WebApp Module
  +    </description>
  +
  +    <todo/>
  +  </section>
  +
  +  <section title="Purpose">
  +    <description>
  +      Why should I use the WebApp Module?
  +    </description>
  +
  +    <todo/>
  +  </section>
  +
  +
  +  <section title="Alternatives">
  +    <description>
  +      Are there alternative ways to connect Apache and Tomcat?
  +    </description>
  +
  +    <todo/>
  +  </section>
  +
   </document>
  
  
  
  1.2       +32 -11    jakarta-tomcat-connectors/webapp/docs/style.xsl
  
  Index: style.xsl
  ===================================================================
  RCS file: /home/cvs/jakarta-tomcat-connectors/webapp/docs/style.xsl,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- style.xsl	5 May 2002 01:58:22 -0000	1.1
  +++ style.xsl	5 May 2002 02:24:26 -0000	1.2
  @@ -160,6 +160,25 @@
                       </xsl:for-each>
                     </xsl:if>
                   </xsl:for-each>
  +
  +                <!--
  +                  The last thing to put down in the index are the API docs,
  +                  both for C and for Java
  +                -->
  +                <tr>
  +                  <td bgcolor="#cccccc" width="150" colspan="2">
  +                    <nobr>
  +                      <a class="menu" href="./api-java/index.html">Java API Documentation</a>
  +                    </nobr>
  +                  </td>
  +                </tr>
  +                <tr>
  +                  <td bgcolor="#cccccc" width="150" colspan="2">
  +                    <nobr>
  +                      <a class="menu" href="./api-c/">C API Documentation</a>
  +                    </nobr>
  +                  </td>
  +                </tr>
                 </table>
               </td>
   
  @@ -192,17 +211,19 @@
     </xsl:template>
   
     <xsl:template match="section">
  -    <table border="0" cellspacing="0" cellpadding="0" width="100%">
  -      <tr>
  -        <td bgcolor="#666666" class="section" valign="top" align="left">
  -          <img src="images/corner.gif" valign="top" align="left" hspace="0" vspace="0" border="0"/>
  -            <xsl:if test="string-length(description/text()) = 0">
  -              <xsl:value-of select="@title"/>
  -            </xsl:if>
  -            <xsl:value-of select="description/text()"/>
  -        </td>
  -      </tr>
  -    </table>
  +    <a name="section_{position()}">
  +      <table border="0" cellspacing="0" cellpadding="0" width="100%">
  +        <tr>
  +          <td bgcolor="#666666" class="section" valign="top" align="left">
  +            <img src="images/corner.gif" valign="top" align="left" hspace="0" vspace="0" border="0"/>
  +              <xsl:if test="string-length(description/text()) = 0">
  +                <xsl:value-of select="@title"/>
  +              </xsl:if>
  +              <xsl:value-of select="description/text()"/>
  +          </td>
  +        </tr>
  +      </table>
  +    </a>
       <xsl:apply-templates select="p|screen|todo"/>
       <br/>
     </xsl:template>
  
  
  

--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>