summaryrefslogtreecommitdiff
path: root/tools
diff options
context:
space:
mode:
Diffstat (limited to 'tools')
-rw-r--r--tools/doc-generator.xsl23
1 files changed, 23 insertions, 0 deletions
diff --git a/tools/doc-generator.xsl b/tools/doc-generator.xsl
index 2d91ed5..c7f5ef2 100644
--- a/tools/doc-generator.xsl
+++ b/tools/doc-generator.xsl
@@ -39,6 +39,29 @@ Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
</xsl:call-template>
</xsl:template>
+ <xsl:template match="tp:dbus-ref" mode="html">
+ <xsl:variable name="prefix">
+ <xsl:choose>
+ <xsl:when test="@namespace">
+ <xsl:value-of select="@namespace"/>
+ <xsl:text>.</xsl:text>
+ </xsl:when>
+ </xsl:choose>
+ </xsl:variable>
+ <a xmlns="http://www.w3.org/1999/xhtml" href="{$prefix}{string(.)}">
+ <xsl:value-of select="string(.)"/>
+ </a>
+ </xsl:template>
+
+ <xsl:template match="tp:member-ref" mode="html">
+ <xsl:variable name="prefix" select="concat(ancestor::interface/@name,
+ '.')"/>
+
+ <a xmlns="http://www.w3.org/1999/xhtml" href="{$prefix}{string(.)}">
+ <xsl:value-of select="string(.)"/>
+ </a>
+ </xsl:template>
+
<xsl:template match="*" mode="identity">
<xsl:copy>
<xsl:apply-templates mode="identity"/>