aboutsummaryrefslogtreecommitdiffstats
path: root/Documentation/DocBook
diff options
context:
space:
mode:
authorMartin Waitz <tali@admingilde.org>2005-06-23 22:05:20 -0700
committerLinus Torvalds <torvalds@ppc970.osdl.org>2005-06-24 00:06:40 -0700
commit363412b4f70a2ba19c76a01da7580472399312d4 (patch)
treef2877439d242f9bebf1694c9a690839b528d6db5 /Documentation/DocBook
parent[PATCH] docbook build fix (diff)
downloadlinux-dev-363412b4f70a2ba19c76a01da7580472399312d4.tar.xz
linux-dev-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')
-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>