2
0
Эх сурвалжийг харах

Don't include stuff in man pages that is marked rule="admin-guide"

Martin Hoffmann 17 жил өмнө
parent
commit
8c0e472295

+ 4 - 0
doc/stylesheets/serdoc2man.xsl

@@ -10,9 +10,13 @@
                 version='1.0'
                 version='1.0'
                 xml:lang="en">
                 xml:lang="en">
                 
                 
+<!-- Don't include stuff with role="admin-guide" -->
+<xsl:template match="* [@role='admin-guide']" />
+
 <!-- Get the docbook2man XSLT -->
 <!-- Get the docbook2man XSLT -->
 <xsl:include href="http://docbook2x.sourceforge.net/latest/xslt/man/docbook.xsl" />
 <xsl:include href="http://docbook2x.sourceforge.net/latest/xslt/man/docbook.xsl" />
 
 
+
 <xsl:template match="serdoc:todo">
 <xsl:template match="serdoc:todo">
   <para>
   <para>
     <xsl:text>TODO</xsl:text>
     <xsl:text>TODO</xsl:text>