Преглед изворни кода

[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>
Martin Waitz пре 20 година
родитељ
комит
363412b4f7
1 измењених фајлова са 1 додато и 0 уклоњено
  1. 1 0
      Documentation/DocBook/stylesheet.xsl

+ 1 - 0
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>