浏览代码

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

Martin Hoffmann 17 年之前
父节点
当前提交
8c0e472295
共有 1 个文件被更改,包括 4 次插入0 次删除
  1. 4 0
      doc/stylesheets/serdoc2man.xsl

+ 4 - 0
doc/stylesheets/serdoc2man.xsl

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