summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
Diffstat (limited to 'doc')
-rw-r--r--doc/man.xsl22
1 files changed, 22 insertions, 0 deletions
diff --git a/doc/man.xsl b/doc/man.xsl
new file mode 100644
index 0000000..634b36d
--- /dev/null
+++ b/doc/man.xsl
@@ -0,0 +1,22 @@
+<?xml version='1.0'?>
+
+<!-- This file wraps around the DocBook XSL manpages stylesheet to customise
+ - some parameters; add the CSS stylesheet, etc.
+ -->
+
+<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
+ version='1.0'
+ xmlns="http://www.w3.org/TR/xhtml1/transitional"
+ exclude-result-prefixes="#default">
+
+<xsl:import href="http://docbook.sourceforge.net/release/xsl/current/manpages/docbook.xsl"/>
+
+<!-- for sections with id attributes, use the id in the filename.
+ This produces meaningful (and persistent) URLs for the sections. -->
+<xsl:variable name="man.output.quietly" select="1"/>
+
+<!-- suppress the copyright section since the /book/bookinfo stuff isn't
+ getting used -->
+<xsl:variable name="man.output.copyright.info" select="0"/>
+
+</xsl:stylesheet>