rahul
Mon, 12 Jan 2009 21:13:04 -0800
Author: rahul Date: Mon Jan 12 21:12:32 2009 New Revision: 734030 URL: http://svn.apache.org/viewvc?rev=734030&view=rev Log: Improve the generated TLD doc for the binary distro (remove site related bits conditionally, correct a couple of URLs).
Modified:
jakarta/taglibs/proper/rdc/trunk/taglibs-rdc/src/util/taglibs20-doc.xsl
Modified:
jakarta/taglibs/proper/rdc/trunk/taglibs-rdc/src/util/taglibs20-doc.xsl
URL:
http://svn.apache.org/viewvc/jakarta/taglibs/proper/rdc/trunk/taglibs-rdc/src/util/taglibs20-doc.xsl?rev=734030&r1=734029&r2=734030&view=diff
==============================================================================
--- jakarta/taglibs/proper/rdc/trunk/taglibs-rdc/src/util/taglibs20-doc.xsl
(original)
+++ jakarta/taglibs/proper/rdc/trunk/taglibs-rdc/src/util/taglibs20-doc.xsl Mon
Jan 12 21:12:32 2009
@@ -132,8 +132,10 @@
</xsl:for-each>
<!-- End Additional TOC sections -->
<li><a href="#examples">Examples</a></li>
- <li><a href="#javadocs">Javadocs</a></li>
- <li><a href="#history">Revision History</a></li>
+ <xsl:if test="$generationtarget = 'xdoc'">
+ <li><a href="#javadocs">Javadocs</a></li>
+ <li><a href="#history">Revision History</a></li>
+ </xsl:if>
<xsl:if test="developers-notes">
<li><a href="#developers-notes">Developers' Notes</a></li>
</xsl:if>
@@ -210,17 +212,19 @@
<!-- Footer Section (Examples, Javadoc, History) -->
<a name="examples"><h3>Examples</h3></a>
<p>See the example application
- <xsl:value-of select="short-name"/>-examples.war for examples of the
usage
+ taglibs-<xsl:value-of select="short-name"/>-examples.war for examples of
the usage
of the tags from this custom tag library.</p>
- <a name="javadocs"><h3>Java Docs</h3></a>
- <p>Java programmers can view the java class documentation for this tag
- library as <a href="apidocs/index.html">javadocs</a>.</p>
-
- <a name="history"><h3>Revision History</h3></a>
- <p>Review the complete <a href="changes.html">revision history</a> of
- this tag library.</p>
-
+ <xsl:if test="$generationtarget = 'xdoc'">
+ <a name="javadocs"><h3>Java Docs</h3></a>
+ <p>Java programmers can view the java class documentation for this tag
+ library as <a href="apidocs/index.html">javadocs</a>.</p>
+
+ <a name="history"><h3>Revision History</h3></a>
+ <p>Review the complete <a href="changes-report.html">revision
history</a> of
+ this tag library.</p>
+ </xsl:if>
+
<!-- developers' notes, if any -->
<xsl:apply-templates select="developers-notes"/>
---------------------------------------------------------------------
To unsubscribe, e-mail: taglibs-dev-unsubscr...@jakarta.apache.org
For additional commands, e-mail: taglibs-dev-h...@jakarta.apache.org