[libgda] Vala Extensions documentation integrated to GDA's html



commit 994a6feee55f8c9b7884a9dfe6863f15aad6c389
Author: Daniel Espinosa <despinosa src gnome org>
Date:   Wed Mar 28 22:17:01 2012 -0600

    Vala Extensions documentation integrated to GDA's html

 configure.ac                     |    2 +
 doc/C/libgda-5.0-docs.sgml       |   22 +++++++++++++++++-
 doc/Makefile.am                  |    2 +-
 doc/mallard/Makefile.am          |    1 +
 doc/mallard/gda-data/Makefile.am |   44 ++++++++++++++++++++++++++++++++++++++
 5 files changed, 68 insertions(+), 3 deletions(-)
---
diff --git a/configure.ac b/configure.ac
index 187b229..4cda753 100644
--- a/configure.ac
+++ b/configure.ac
@@ -945,6 +945,8 @@ doc/C/Makefile
 doc/C/libgda.types
 doc/C/version.xml
 doc/C/builddate.xml
+doc/mallard/Makefile
+doc/mallard/gda-data/Makefile
 data/Makefile
 stamp.h
 ])
diff --git a/doc/C/libgda-5.0-docs.sgml b/doc/C/libgda-5.0-docs.sgml
index 18da76f..e1ed550 100644
--- a/doc/C/libgda-5.0-docs.sgml
+++ b/doc/C/libgda-5.0-docs.sgml
@@ -16,6 +16,8 @@
 <!ENTITY gda-list-config "<command>gda-list-config-5.0</command>">
 <!ENTITY gda-sql         "<command>gda-sql</command>">
 <!ENTITY gda-test-connection "<command>gda-test-connection-5.0</command>">
+<!ENTITY GdaData         '<emphasis><ulink url="gda-data/index.html">Gda Vala Extensions</ulink></emphasis>'>
+<!ENTITY GI              '<emphasis><ulink url="http://live.gnome.org/GObjectIntrospection";>GObject Introspection</ulink></emphasis>'>
 ]>
 <book id="index" xmlns:xi="http://www.w3.org/2003/XInclude";>
   <bookinfo>
@@ -82,7 +84,7 @@
           <orgname></orgname>
           <address><email>esodan gmail com</email></address>
         </affiliation>
-	<contrib>libgda, gda-postgres, gda-mysql
+	<contrib>libgda, Vala, GObject Introspection
         </contrib>
       </author>
       <author>
@@ -1117,7 +1119,23 @@ g_object_unref (store);
       <xi:include href="xml/gda-attributes-manager.xml"/>
     </chapter>
   </part>
-
+  
+  <part id="other-languages">
+    <title>Using Other Programing Languages</title>
+    <chapter id="other-languages-introduction">
+      <title>Introduction</title>
+      <para>
+      &GDA; has support for &GI;, allowing to use GDA's C API in other languages that support it, like Python or Vala.
+      </para>
+    </chapter>
+    <chapter id="other-languages-vala">
+    <title>Vala Extensions</title>
+    <para>
+    Vala is a GObject oriented programing language very similar to C#. &GDA; have added support for through &GI;. Aditionaly some extensions are availabe for better experience using GDA in Vala. You can browse through &GdaData; documentation.
+    </para>
+    </chapter>
+  </part>
+  
   <part id="part_tools">
     <title>&GDA; Tools</title>
     <chapter id="libgda-tools-introduction">
diff --git a/doc/Makefile.am b/doc/Makefile.am
index 4d612f6..421c599 100644
--- a/doc/Makefile.am
+++ b/doc/Makefile.am
@@ -1,3 +1,3 @@
-SUBDIRS = C 
+SUBDIRS = C mallard
 
 DOC_LINGUAS = el es gl
diff --git a/doc/mallard/Makefile.am b/doc/mallard/Makefile.am
new file mode 100644
index 0000000..fba55f5
--- /dev/null
+++ b/doc/mallard/Makefile.am
@@ -0,0 +1 @@
+SUBDIRS = gda-data
diff --git a/doc/mallard/gda-data/Makefile.am b/doc/mallard/gda-data/Makefile.am
new file mode 100644
index 0000000..2e0b163
--- /dev/null
+++ b/doc/mallard/gda-data/Makefile.am
@@ -0,0 +1,44 @@
+YELP_EXTRA_HTML = \
+	C.css \
+	yelp-note-tip.png \
+	jquery.js \
+	jquery.syntax.brush.clang.js \
+	jquery.syntax.core.js \
+	jquery.syntax.js \
+	jquery.syntax.layout.yelp.js
+
+VALA_EXTENSIONS_DOC = \
+	classes.page \
+	enable-vala-extensions.page \
+	index.page \
+	interfaces.page \
+	record-class.page \
+	table-class.page
+
+VALA_EXTENSIONS_DOC_PNG = \
+	classes-uml.png \
+	record-class-uml.png \
+	interfaces-uml.png \
+	table-class-uml.png
+
+vala_extensions_doc_html_SOURCES = \
+	$(VALA_EXTENSIONS_DOC:.page=.html)
+
+C.css yelp-note-tip.png jquery.js jquery.syntax.brush.clang.js jquery.syntax.core.js jquery.syntax.js jquery.syntax.layout.yelp.js: valadoc
+
+# Adding a new page in VALA_EXTENSIONS_DOC must be added here too as html
+classes.html enable-vala-extensions.html index.html interfaces.html record-class.html table-class.html: valadoc
+
+valadoc:
+	yelp-build html ./
+
+# Vala extensions doc will be installed in libgda gtk-doc module
+valadocdir = $(HTML_DIR)/libgda-5.0/gda-data
+valadoc_DATA = \
+	$(YELP_EXTRA_HTML) \
+	$(vala_extensions_doc_html_SOURCES) \
+	$(VALA_EXTENSIONS_DOC_PNG)
+
+CLEANFILES = \
+	$(VALA_EXTENSIONS_DOC:.page=.html) \
+	$(YELP_EXTRA_HTML)



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