From 95edb6795c1d95b0d8fed0b935551279849bdc93 Mon Sep 17 00:00:00 2001 From: "Zeeshan Ali (Khattak)" Date: Wed, 18 Sep 2013 16:58:30 +0300 Subject: Generate docs for D-Bus interface --- docs/Makefile.am | 70 +++++++++++++++++++++++++++++++++++++++++++ docs/geoclue-docs.xml | 83 +++++++++++++++++++++++++++++++++++++++++++++++++++ docs/version.xml.in | 1 + 3 files changed, 154 insertions(+) create mode 100644 docs/Makefile.am create mode 100644 docs/geoclue-docs.xml create mode 100644 docs/version.xml.in (limited to 'docs') diff --git a/docs/Makefile.am b/docs/Makefile.am new file mode 100644 index 0000000..f1c666c --- /dev/null +++ b/docs/Makefile.am @@ -0,0 +1,70 @@ +NULL = + +AUTOMAKE_OPTIONS = 1.7 + +# The name of the module. +DOC_MODULE=geoclue + +# The top-level SGML file. +DOC_MAIN_SGML_FILE=geoclue-docs.xml + +# Extra options to supply to gtkdoc-scan +SCAN_OPTIONS=--ignore-headers=config.h + +# The directory containing the source code. Relative to $(srcdir) +#DOC_SOURCE_DIR=../src + +# Used for dependencies +HFILE_GLOB= +#$(top_srcdir)/policy/*.h +CFILE_GLOB= +#$(top_srcdir)/policy/*.c + +# Headers to ignore +IGNORE_HFILES= \ + $(NULL) + +# Extra options to supply to gtkdoc-mkdb +MKDB_OPTIONS=--sgml-mode --output-format=xml + +# Extra options to supply to gtkdoc-mktmpl +MKTMPL_OPTIONS= + +docs-org.freedesktop.GeoClue2.Manager.xml: + cp $(top_srcdir)/src/docs-org.freedesktop.GeoClue2.Manager.xml . +docs-org.freedesktop.GeoClue2.Client.xml: + cp $(top_srcdir)/src/docs-org.freedesktop.GeoClue2.Client.xml . +docs-org.freedesktop.GeoClue2.Location.xml: + cp $(top_srcdir)/src/docs-org.freedesktop.GeoClue2.Location.xml . + +# Non-autogenerated SGML files to be included in $(DOC_MAIN_SGML_FILE) +content_files = \ + version.xml \ + docs-org.freedesktop.GeoClue2.Manager.xml \ + docs-org.freedesktop.GeoClue2.Client.xml \ + docs-org.freedesktop.GeoClue2.Location.xml \ + $(NULL) + +MAINTAINERCLEANFILES = \ + *~ \ + Makefile.in \ + geoclue.types \ + geoclue-*.txt \ + $(NULL) + +if ENABLE_GTK_DOC +include $(top_srcdir)/gtk-doc.make +else +CLEANFILES = $(NULL) +EXTRA_DIST = geoclue-docs.xml +endif + +CLEANFILES += \ + docs-org.freedesktop.GeoClue2.Manager.xml \ + docs-org.freedesktop.GeoClue2.Client.xml \ + docs-org.freedesktop.GeoClue2.Location.xml \ + $(NULL) + +# Version information for marking the documentation +EXTRA_DIST += version.xml.in + diff --git a/docs/geoclue-docs.xml b/docs/geoclue-docs.xml new file mode 100644 index 0000000..731b47c --- /dev/null +++ b/docs/geoclue-docs.xml @@ -0,0 +1,83 @@ + + +]> + + + Geoclue Reference Manual + Version &version; + + + Zeeshan + Ali (Khattak) + +
+ zeeshanak@gnome.org +
+
+
+
+ + + 2013 + Red Hat, Inc. + + + + + Permission is granted to copy, distribute and/or modify this + document under the terms of the GNU Free + Documentation License, Version 1.1 or any later + version published by the Free Software Foundation with no + Invariant Sections, no Front-Cover Texts, and no Back-Cover + Texts. You may obtain a copy of the GNU Free + Documentation License from the Free Software + Foundation by visiting their Web site or by writing + to: + +
+ The Free Software Foundation, Inc., + 59 Temple Place - Suite 330, + Boston, MA 02111-1307, + USA +
+
+ + + Many of the names used by companies to distinguish their + products and services are claimed as trademarks. Where those + names appear in any GNOME documentation, and those trademarks + are made aware to the members of the GNOME Documentation + Project, the names have been printed in caps or initial caps. + +
+
+ + + D-Bus API Reference + + + This part documents the D-Bus interface used to access the + Geoclue service. + + + + + + + + + Index + + + + + + License + +FIXME: MISSING XINCLUDE CONTENT + + +
diff --git a/docs/version.xml.in b/docs/version.xml.in new file mode 100644 index 0000000..d78bda9 --- /dev/null +++ b/docs/version.xml.in @@ -0,0 +1 @@ +@VERSION@ -- cgit v1.2.1