summaryrefslogtreecommitdiffstats
path: root/Documentation/DocBook/stylesheet.xsl
diff options
context:
space:
mode:
authorMartin Waitz <tali@admingilde.org>2005-06-24 07:05:20 +0200
committerLinus Torvalds <torvalds@ppc970.osdl.org>2005-06-24 09:06:40 +0200
commit363412b4f70a2ba19c76a01da7580472399312d4 (patch)
treef2877439d242f9bebf1694c9a690839b528d6db5 /Documentation/DocBook/stylesheet.xsl
parent[PATCH] docbook build fix (diff)
downloadlinux-363412b4f70a2ba19c76a01da7580472399312d4.tar.xz
linux-363412b4f70a2ba19c76a01da7580472399312d4.zip
[PATCH] DocBook: only use tabular style for long synopsis
There was a complaint that function declarations are shown tabular in the documentation since switching to xmlto. This patch disables tabular mode when the function fits in one line. Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'Documentation/DocBook/stylesheet.xsl')
-rw-r--r--Documentation/DocBook/stylesheet.xsl1
1 files changed, 1 insertions, 0 deletions
diff --git a/Documentation/DocBook/stylesheet.xsl b/Documentation/DocBook/stylesheet.xsl
index e14c21dda403..64be9f7ee3bb 100644
--- a/Documentation/DocBook/stylesheet.xsl
+++ b/Documentation/DocBook/stylesheet.xsl
@@ -2,4 +2,5 @@
<stylesheet xmlns="http://www.w3.org/1999/XSL/Transform" version="1.0">
<param name="chunk.quietly">1</param>
<param name="funcsynopsis.style">ansi</param>
+<param name="funcsynopsis.tabular.threshold">80</param>
</stylesheet>