[gnome-bluetooth] Add docs title and version



commit 0b8b869d3bbd558ae99c341169717e58f403369f
Author: Bastien Nocera <hadess hadess net>
Date:   Mon Jun 29 17:03:35 2009 +0100

    Add docs title and version

 configure.ac                                       |    1 +
 docs/reference/libgnome-bluetooth/Makefile.am      |    6 +++---
 .../libgnome-bluetooth/gnome-bluetooth-docs.sgml   |    9 +++++----
 docs/reference/libgnome-bluetooth/version.xml.in   |    1 +
 4 files changed, 10 insertions(+), 7 deletions(-)
---
diff --git a/configure.ac b/configure.ac
index 20bcadc..a9f23c0 100644
--- a/configure.ac
+++ b/configure.ac
@@ -149,6 +149,7 @@ AC_OUTPUT(Makefile
 	  docs/Makefile
 	  docs/reference/Makefile
 	  docs/reference/libgnome-bluetooth/Makefile
+	  docs/reference/libgnome-bluetooth/version.xml
 	  po/Makefile.in
 	  help/Makefile
 )
diff --git a/docs/reference/libgnome-bluetooth/Makefile.am b/docs/reference/libgnome-bluetooth/Makefile.am
index ac0ad93..902d4aa 100644
--- a/docs/reference/libgnome-bluetooth/Makefile.am
+++ b/docs/reference/libgnome-bluetooth/Makefile.am
@@ -54,7 +54,7 @@ CFILE_GLOB=$(top_srcdir)/lib/*.c
 
 # Header files to ignore when scanning.
 # e.g. IGNORE_HFILES=gtkdebug.h gtkintl.h
-IGNORE_HFILES=bluetooth-agent-glue.h bluetooth-agent.h bluetooth-client-glue.h bluetooth-client.h bluetooth-instance-glue.h bluetooth-instance.h helper.h marshal.h obex-agent-glue.h obex-agent.h
+IGNORE_HFILES=bluetooth-agent-glue.h bluetooth-agent.h bluetooth-client-glue.h bluetooth-client-private.h bluetooth-instance-glue.h bluetooth-instance.h helper.h marshal.h obex-agent-glue.h obex-agent.h
 
 # Images to copy into HTML directory.
 # e.g. HTML_IMAGES=$(top_srcdir)/gtk/stock-icons/stock_about_24.png
@@ -62,7 +62,7 @@ HTML_IMAGES=
 
 # Extra SGML files that are included by $(DOC_MAIN_SGML_FILE).
 # e.g. content_files=running.sgml building.sgml changes-2.0.sgml
-content_files=
+content_files=version.xml
 
 # SGML files where gtk-doc abbrevations (#GtkWidget) are expanded
 # These files must be listed here *and* in content_files
@@ -82,7 +82,7 @@ include $(top_srcdir)/gtk-doc.make
 
 # Other files to distribute
 # e.g. EXTRA_DIST += version.xml.in
-EXTRA_DIST +=
+EXTRA_DIST += version.xml.in
 
 # Files not to distribute
 # for --rebuild-types in $(SCAN_OPTIONS), e.g. $(DOC_MODULE).types
diff --git a/docs/reference/libgnome-bluetooth/gnome-bluetooth-docs.sgml b/docs/reference/libgnome-bluetooth/gnome-bluetooth-docs.sgml
index 62c7f49..f8939a5 100644
--- a/docs/reference/libgnome-bluetooth/gnome-bluetooth-docs.sgml
+++ b/docs/reference/libgnome-bluetooth/gnome-bluetooth-docs.sgml
@@ -2,20 +2,21 @@
 <!DOCTYPE book PUBLIC "-//OASIS//DTD DocBook XML V4.3//EN"
                "http://www.oasis-open.org/docbook/xml/4.3/docbookx.dtd";
 [
-  <!ENTITY % local.common.attrib "xmlns:xi  CDATA  #FIXED 'http://www.w3.org/2003/XInclude'">
+<!ENTITY % local.common.attrib "xmlns:xi  CDATA  #FIXED 'http://www.w3.org/2003/XInclude'">
+<!ENTITY version SYSTEM "version.xml">
 ]>
 <book id="index">
   <bookinfo>
     <title>gnome-bluetooth Reference Manual</title>
     <releaseinfo>
-      for gnome-bluetooth [VERSION].
+      for gnome-bluetooth &version;.
       The latest version of this documentation can be found on-line at
-      <ulink role="online-location" url="http://[SERVER]/gnome-bluetooth/index.html";>http://[SERVER]/gnome-bluetooth/</ulink>.
+      <ulink role="online-location" url="http://library.gnome.org/devel/gnome-bluetooth/unstable/";>http://library.gnome.org/devel/gnome-bluetooth/unstable/</ulink>.
     </releaseinfo>
   </bookinfo>
 
   <chapter>
-    <title>[Insert title here]</title>
+    <title>API Reference</title>
         <xi:include href="xml/bluetooth-chooser.xml"/>
     <xi:include href="xml/bluetooth-chooser-button.xml"/>
     <xi:include href="xml/bluetooth-enums.xml"/>
diff --git a/docs/reference/libgnome-bluetooth/version.xml.in b/docs/reference/libgnome-bluetooth/version.xml.in
new file mode 100644
index 0000000..d78bda9
--- /dev/null
+++ b/docs/reference/libgnome-bluetooth/version.xml.in
@@ -0,0 +1 @@
+ VERSION@



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]