diff options
author | Michael Leupold <lemma@leunet.de> | 2009-08-01 16:29:27 +0200 |
---|---|---|
committer | Stef Walter <stefw@collabora.co.uk> | 2010-12-04 16:11:41 +0000 |
commit | 01d37dc2d31277bc6d55fa2a7c689a681443e1e7 (patch) | |
tree | 85344ab63df83b355b752774c657a82803e3f48c /secret-service/tools | |
parent | 24427d24927bbd22b3b82a6d04d3d0df05346867 (diff) | |
download | xdg-specs-01d37dc2d31277bc6d55fa2a7c689a681443e1e7.tar.xz |
Make a list of funcsynopses instead of single synopses for each funcdef. Add a style to prettify.
Diffstat (limited to 'secret-service/tools')
-rw-r--r-- | secret-service/tools/spec-to-docbook.xsl | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/secret-service/tools/spec-to-docbook.xsl b/secret-service/tools/spec-to-docbook.xsl index 1917798..8b6c223 100644 --- a/secret-service/tools/spec-to-docbook.xsl +++ b/secret-service/tools/spec-to-docbook.xsl @@ -344,13 +344,17 @@ <xsl:if test="method"> <refsect2> <title>Methods</title> - <xsl:apply-templates select="method" mode="funcsynopsislinked"/> + <funcsynopsis> + <xsl:apply-templates select="method" mode="funcsynopsislinked"/> + </funcsynopsis> </refsect2> </xsl:if> <xsl:if test="signal"> <refsect2> <title>Signals</title> - <xsl:apply-templates select="signal" mode="funcsynopsislinked"/> + <funcsynopsis> + <xsl:apply-templates select="signal" mode="funcsynopsislinked"/> + </funcsynopsis> </refsect2> </xsl:if> </refsynopsisdiv> @@ -799,7 +803,6 @@ </xsl:template> <xsl:template match="method|signal" mode="funcsynopsislinked"> - <funcsynopsis> <funcprototype> <funcdef> <function linkend="{concat(parent::interface//@name, '.', @name)}"> @@ -815,7 +818,6 @@ </xsl:otherwise> </xsl:choose> </funcprototype> - </funcsynopsis> </xsl:template> <xsl:template match="method" mode="detail"> |