From cb90dac4899d26d218e4786f3abd09f37ed55a24 Mon Sep 17 00:00:00 2001 From: Marcel Holtmann Date: Thu, 4 Dec 2008 10:58:44 +0100 Subject: [PATCH] Use D-Bus API text based documentation --- .gitignore | 2 - doc/Makefile.am | 15 +- doc/connman-docs.xml | 11 -- doc/dbus-introspection.dtd | 32 ---- doc/dbus-introspection.xsl | 436 -------------------------------------------- doc/dbus-manager.xml | 30 --- 6 files changed, 1 insertion(+), 525 deletions(-) delete mode 100644 doc/dbus-introspection.dtd delete mode 100644 doc/dbus-introspection.xsl delete mode 100644 doc/dbus-manager.xml diff --git a/.gitignore b/.gitignore index dd020ea..c774574 100644 --- a/.gitignore +++ b/.gitignore @@ -35,6 +35,4 @@ doc/connman.* doc/connman-*.txt doc/*.sgml doc/version.xml -doc/xml -doc/dbus doc/html diff --git a/doc/Makefile.am b/doc/Makefile.am index 752c5cc..7fe3070 100644 --- a/doc/Makefile.am +++ b/doc/Makefile.am @@ -21,7 +21,7 @@ IGNORE_HFILES = connman connman.h rtnl.h dbus.h iface.h HTML_IMAGES = -content_files = connman-introduction.xml dbus/manager.xml +content_files = connman-introduction.xml INCLUDES = -I$(top_srcdir)/include -I$(top_srcdir)/gdbus \ $(GTHREAD_CFLAGS) $(GMODULE_CFLAGS) $(GLIB_CFLAGS) $(DBUS_CFLAGS) @@ -33,22 +33,9 @@ MAINTAINERCLEANFILES = Makefile.in \ if ENABLE_GTK_DOC include $(top_srcdir)/doc/gtk-doc.make - -dbus/manager.xml: dbus-manager.xml dbus-introspection.xsl - $(MKDIR_P) -p $(builddir)/dbus - echo "" > $@ - echo "" >> $@ - $(XSLTPROC) dbus-introspection.xsl $< | tail -n +2 >> $@ - -clean-local: - rm -rf $(builddir)/dbus - else EXTRA_DIST = $(DOC_MAIN_SGML_FILE) connman-introduction.xml endif -EXTRA_DIST += dbus-introspection.dtd dbus-introspection.xsl \ - dbus-manager.xml - EXTRA_DIST += manager-api.txt device-api.txt network-api.txt \ connection-api.txt agent-api.txt plugin-api.txt diff --git a/doc/connman-docs.xml b/doc/connman-docs.xml index 9c5affc..d709168 100644 --- a/doc/connman-docs.xml +++ b/doc/connman-docs.xml @@ -57,17 +57,6 @@ - - D-Bus API Reference - - - This part presents the D-Bus interface used to access Connection - Manager. - - - - - Manager interface diff --git a/doc/dbus-introspection.dtd b/doc/dbus-introspection.dtd deleted file mode 100644 index 5fe508e..0000000 --- a/doc/dbus-introspection.dtd +++ /dev/null @@ -1,32 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/doc/dbus-introspection.xsl b/doc/dbus-introspection.xsl deleted file mode 100644 index 679b358..0000000 --- a/doc/dbus-introspection.xsl +++ /dev/null @@ -1,436 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - interface - - - - Methods - - - - - - - - - Signals - - - - - - - - - Implemented Interfaces - - implements - org.freedesktop.DBus.Introspectable, - org.freedesktop.DBus.Properties - - - - - Properties - - - - - - - - - Description - - - - - - - Details - - - - - - - Signal Details - - - - - - - Property Details - - - - - - - - - - - - - - -: - - - - - - - - - - - - - - - - - - - - - - <anchor role="function"><xsl:attribute name="id"><xsl:value-of select="$basename"/>:<xsl:value-of select="@name"/></xsl:attribute></anchor>The "<xsl:value-of select="@name"/>" property - -'' - - - - - - - - - - - - - -: - - - - - - - - - - - - - - - - - - - - - <anchor role="function"><xsl:attribute name="id"><xsl:value-of select="$basename"/>::<xsl:value-of select="@name"/></xsl:attribute></anchor>The <xsl:value-of select="@name"/> signal - - () - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -Since - - - - - - - - /> - - - - - - - is deprecated since version and should not be used in newly-written code. Use - - - - - : - - - :: - - - . - - - - - - - - - - - - - - - -instead. - - - - - - - - - - - -See also: - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -: - - - - - - - - - - - - - - - - - - - - - <anchor role="function"><xsl:attribute name="id"><xsl:value-of select="$basename"/>.<xsl:value-of select="@name"/></xsl:attribute></anchor><xsl:value-of select="@name"/> () - - () - - - - - - - - - - - - - - - - -:'' - - - - - - - - - - - - -::() - - - - - - - - - - - - -.() - - - - - -'' -, - - - - - -'' -, - - - - - - -'' - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/doc/dbus-manager.xml b/doc/dbus-manager.xml deleted file mode 100644 index 446cd7e..0000000 --- a/doc/dbus-manager.xml +++ /dev/null @@ -1,30 +0,0 @@ - - - - - - - - - - - List of object paths representing an element. - - - - - - - - - List all registered elements in the system. - - - - - - - - -- 1.7.9.5