List:Commits« Previous MessageNext Message »
From:paul Date:March 28 2007 4:42am
Subject:svn commit - mysqldoc@docsrva: r5589 - in trunk: . xsl.d
View as plain text  
Author: paul
Date: 2007-03-28 04:42:03 +0200 (Wed, 28 Mar 2007)
New Revision: 5589

Log:
 r22325@polar:  paul | 2007-03-27 21:41:42 -0500
 Exclude the option/variable table from the mysqld.1 manpage.
 (It overwhelms the manpage transform.)
 The exclusion is hardwired into the manprepped transform for now;
 need a better way to deal with this.


Modified:
   trunk/xsl.d/map-refentry.xsl

Property changes on: trunk
___________________________________________________________________
Name: svk:merge
   - 4767c598-dc10-0410-bea0-d01b485662eb:/mysqldoc-local/mysqldoc/trunk:22323
7d8d2c4e-af1d-0410-ab9f-b038ce55645b:/mysqldoc-local/mysqldoc:18245
b5ec3a16-e900-0410-9ad2-d183a3acac99:/mysqldoc-local/mysqldoc/trunk:14218
bf112a9c-6c03-0410-a055-ad865cd57414:/mysqldoc-local/mysqldoc/trunk:14593
   + 4767c598-dc10-0410-bea0-d01b485662eb:/mysqldoc-local/mysqldoc/trunk:22325
7d8d2c4e-af1d-0410-ab9f-b038ce55645b:/mysqldoc-local/mysqldoc:18245
b5ec3a16-e900-0410-9ad2-d183a3acac99:/mysqldoc-local/mysqldoc/trunk:14218
bf112a9c-6c03-0410-a055-ad865cd57414:/mysqldoc-local/mysqldoc/trunk:14593


Modified: trunk/xsl.d/map-refentry.xsl
===================================================================
--- trunk/xsl.d/map-refentry.xsl	2007-03-28 02:17:54 UTC (rev 5588)
+++ trunk/xsl.d/map-refentry.xsl	2007-03-28 02:42:03 UTC (rev 5589)
Changed blocks: 1, Lines Added: 10, Lines Deleted: 0; 857 bytes

@@ -129,11 +129,21 @@
 <xsl:template match="refsection">
   <xsl:choose>
     <xsl:when test="$map.refentry.to.section = 0">
+<!--
+  Incredible hack: When generating output for manpages,
+  exclude the refsection that contains the options/variables
+  table because it makes the manpages transform die.
+-->
+<xsl:if test="@id != 'mysqld-option-tables'">
       <!-- pass refsection through unchanged -->
       <refsection>
         <xsl:copy-of select="@*"/>
         <xsl:apply-templates/>
       </refsection>
+</xsl:if>
+<!--
+  End incredible hack
+-->
     </xsl:when>
     <xsl:otherwise>
       <!-- map refsection to section -->


Thread
svn commit - mysqldoc@docsrva: r5589 - in trunk: . xsl.dpaul28 Mar