Skip to contentSkip to conversation

DocBook: only use tabular style for long synopsis

PATCH In review Martin Waitz 1 participant 2 messages May 9, 2005 – May 10, 2005 1 message not in the archive Documentation

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 DocBook: only use tabular style for long synopsis

hoi :)

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.

---
 Documentation/DocBook/stylesheet.xsl |    1 +
 1 files changed, 1 insertion(+)
Documentation/DocBook/stylesheet.xsl +1 -0
Index: linux-docbook/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>
Signature · 1 line
Martin Waitz

A message that is not in the archive (sent off-list or not yet received): [email protected]

#2 lore raw

hoi :)

Quoted 2 lines · Andrew Morton

Are you interested in becoming the official docbook person, send in a MAINTAINERS patch?

well I don't want to write all the documentation but I can maintain the DocBook system.

---
 MAINTAINERS |    5 +++++
 1 files changed, 5 insertions(+)
MAINTAINERS +5 -0
Index: linux-docbook/MAINTAINERS
===================================================================
@@ -730,6 +730,11 @@ M:	[email protected]
 L:	[email protected]
 S:	Maintained
 
+DOCBOOK FOR DOCUMENTATION
+P:	Martin Waitz
+M:	[email protected]
+S:	Maintained
+
 DOUBLETALK DRIVER
 P:	James R. Van Zandt
 M:	[email protected]
Signature · 1 line
Martin Waitz