]> granicus.if.org Git - docbook-dsssl/commitdiff
If a source refentry contains a Documentation or DOCUMENTATION
authorMichael Smith <xmldoc@users.sourceforge.net>
Sat, 8 Mar 2008 04:28:17 +0000 (04:28 +0000)
committerMichael Smith <xmldoc@users.sourceforge.net>
Sat, 8 Mar 2008 04:28:17 +0000 (04:28 +0000)
section, don't report it as having missing AUTHOR information.
Also, if missing a contrib/personblurb for a person or org, report
pointers to http://docbook.sf.net/el/personblurb and to
http://docbook.sf.net/el/contrib

xsl/manpages/info.xsl

index 15de6402d9f213bb17c428ee0e0d0d0d22046c13..3a652e88e67dfdc530c99ac4457bbd4f6237b07f 100644 (file)
               contains($refsect1.titles,$gentext.AUTHOR)">
               <xsl:value-of select="$gentext.AUTHOR"/>
             </xsl:when>
+            <!-- * git docs (for one) use "DOCUMENTATION" for their authors section -->
+            <xsl:when test="contains($refsect1.titles,'Documentation')">
+              <xsl:text>Documentation</xsl:text>
+            </xsl:when>
+            <xsl:when test="contains($refsect1.titles,'DOCUMENTATION')">
+              <xsl:text>DOCUMENTATION</xsl:text>
+            </xsl:when>
             <xsl:otherwise/> <!-- * otherwise, leave empty -->
           </xsl:choose>
         </xsl:variable>
                 <xsl:value-of select="$person-name"/>
               </xsl:with-param>
             </xsl:call-template>
+            <xsl:call-template name="log.message">
+              <xsl:with-param name="level">Note</xsl:with-param>
+              <xsl:with-param name="source" select="$refname"/>
+              <xsl:with-param name="context-desc">AUTHOR sect.</xsl:with-param>
+              <xsl:with-param name="message">
+                <xsl:text>see see http://docbook.sf.net/el/contrib</xsl:text>
+              </xsl:with-param>
+            </xsl:call-template>
+            <xsl:call-template name="log.message">
+              <xsl:with-param name="level">Note</xsl:with-param>
+              <xsl:with-param name="source" select="$refname"/>
+              <xsl:with-param name="context-desc">AUTHOR sect.</xsl:with-param>
+              <xsl:with-param name="message">
+                <xsl:text>see see http://docbook.sf.net/el/personblurb</xsl:text>
+              </xsl:with-param>
+            </xsl:call-template>
           </xsl:if>
         </xsl:if>
         <xsl:choose>