diff options
author | William Jon McCann <jmccann@redhat.com> | 2008-07-23 23:22:36 -0400 |
---|---|---|
committer | William Jon McCann <jmccann@redhat.com> | 2008-07-23 23:22:36 -0400 |
commit | e54095996b9066120ebf20011eba199d25422c2f (patch) | |
tree | 6d88da2ce0137fed1ece3bf610690e66809f76b0 /doc/tools/spec-strip-docs.xsl | |
parent | 34cefc96f7661ed92927bffa1cf7cbc79a84e5ab (diff) |
use spec files directly as introspection xml and try to generate docs on the fly
At one point we had to strip out the docs because dbus-glib didn't support
unknown tags. Apparently this is now fixed. Also install the xml to
/usr/share/dbus-1/interfaces.
Diffstat (limited to 'doc/tools/spec-strip-docs.xsl')
-rw-r--r-- | doc/tools/spec-strip-docs.xsl | 36 |
1 files changed, 0 insertions, 36 deletions
diff --git a/doc/tools/spec-strip-docs.xsl b/doc/tools/spec-strip-docs.xsl deleted file mode 100644 index 21ad558..0000000 --- a/doc/tools/spec-strip-docs.xsl +++ /dev/null @@ -1,36 +0,0 @@ -<?xml version='1.0'?> -<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform" - xmlns:doc="http://www.freedesktop.org/dbus/1.0/doc.dtd" - exclude-result-prefixes="doc"> - - <xsl:output method="xml" indent="yes" encoding="UTF-8" - omit-xml-declaration="no" - doctype-system="http://www.freedesktop.org/standards/dbus/1.0/introspect.dtd" - doctype-public="-//freedesktop//DTD D-BUS Object Introspection 1.0//EN" /> - - <xsl:template match="*"> - <xsl:copy> - <xsl:for-each select="@*"> - <xsl:if test="not(starts-with(name(.), 'doc:'))"> - <xsl:copy/> - </xsl:if> - </xsl:for-each> - <xsl:apply-templates/> - </xsl:copy> - </xsl:template> - - <xsl:template match="node"> - <node> - <xsl:for-each select="@*"> - <xsl:if test="not(starts-with(name(.), 'xmlns'))"> - <xsl:copy/> - </xsl:if> - </xsl:for-each> - <xsl:apply-templates/> - </node> - </xsl:template> - - <xsl:template match="doc:*"/> - <xsl:template match="text()"/> - -</xsl:stylesheet> |