https://issues.apache.org/bugzilla/show_bug.cgi?id=50923
authorkkolinko <kkolinko@13f79535-47bb-0310-9956-ffa450edef68>
Sun, 2 Oct 2011 17:53:04 +0000 (17:53 +0000)
committerkkolinko <kkolinko@13f79535-47bb-0310-9956-ffa450edef68>
Sun, 2 Oct 2011 17:53:04 +0000 (17:53 +0000)
Use more distinct color for <code> and add small spacing around it.
Do not color attribute names (the names in the first column in attribute lists in Configuration reference).

Commented-out unused xsl:variable.

git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@1178209 13f79535-47bb-0310-9956-ffa450edef68

webapps/docs/tomcat-docs.xsl

index a777072..003ff63 100644 (file)
       <xsl:variable name="name">
         <xsl:value-of select="."/>
       </xsl:variable>
+      <!--
       <xsl:variable name="email">
         <xsl:value-of select="@email"/>
       </xsl:variable>
+       -->
       <meta name="author" content="{$name}"/>
       <!-- Don't publish e-mail addresses
       <meta name="email" content="{$email}"/>
@@ -82,7 +84,8 @@
             td#mainBody {width: 100%;}
         </style>
         <style type="text/css">
-            code {color:rgb(0,64,64);}
+            code {color:rgb(0,128,128);padding:0 0.1em;}
+            code.attributeName {color:rgb(0,0,0);}
         </style>
     </head>
 
         <tr>
           <td align="left" valign="center">
             <xsl:if test="@required = 'true'">
-              <strong><code><xsl:value-of select="@name"/></code></strong>
+              <strong><code class="attributeName"><xsl:value-of select="@name"/></code></strong>
             </xsl:if>
             <xsl:if test="@required != 'true'">
-              <code><xsl:value-of select="@name"/></code>
+              <code class="attributeName"><xsl:value-of select="@name"/></code>
             </xsl:if>
           </td>
           <td align="left" valign="center">