diff options
author | Andrew Walton <awalton@src.gnome.org> | 2008-04-05 01:42:52 +0000 |
---|---|---|
committer | Andrew Walton <awalton@src.gnome.org> | 2008-04-05 01:42:52 +0000 |
commit | d3e0837baacf80396395275f7db7fc3a82a7e809 (patch) | |
tree | bda2f7c141663feca20a7b26246e120841e66366 | |
parent | a85b467ec16a3f1441162c48687810951dbd40c9 (diff) | |
download | nautilus-d3e0837baacf80396395275f7db7fc3a82a7e809.tar.gz |
Adds initial Gtk-doc support infrastructure for
libnautilus-extension.
(Progress towards bug #526193).
svn path=/trunk/; revision=14041
-rw-r--r-- | ChangeLog | 13 | ||||
-rw-r--r-- | configure.in | 10 | ||||
-rw-r--r-- | docs/Makefile.am | 2 | ||||
-rw-r--r-- | docs/reference/Makefile.am | 1 | ||||
-rw-r--r-- | docs/reference/libnautilus-extension/Makefile.am | 74 | ||||
-rw-r--r-- | docs/reference/libnautilus-extension/libnautilus-extension-docs.xml | 36 | ||||
-rw-r--r-- | docs/reference/libnautilus-extension/libnautilus-extension.types | 11 | ||||
-rw-r--r-- | docs/reference/libnautilus-extension/version.xml.in | 1 |
8 files changed, 148 insertions, 0 deletions
@@ -1,3 +1,16 @@ +2008-04-04 A. Walton <awalton@svn.gnome.org> + + * configure.in: + * docs/Makefile.am: + * docs/reference/Makefile.am: + * docs/reference/libnautilus-extension/Makefile.am: + * docs/reference/libnautilus-extension/libnautilus-extension-docs.xml: + * docs/reference/libnautilus-extension/libnautilus-extension.types: + * docs/reference/libnautilus-extension/version.xml.in: + + Adds initial Gtk-doc support infrastructure for libnautilus-extension. + (Progress towards bug #526193). + 2008-04-04 Christian Neumair <cneumair@gnome.org> * src/nautilus-places-sidebar.c (nautilus_places_sidebar_init), diff --git a/configure.in b/configure.in index 53b5445b7..eb74aece1 100644 --- a/configure.in +++ b/configure.in @@ -118,6 +118,12 @@ IT_PROG_INTLTOOL([0.35.0]) dnl ========================================================================== +GTK_DOC_CHECK +DISTCHECK_CONFIGURE_FLAGS="--enable-gtk-doc" +AC_SUBST(DISTCHECK_CONFIGURE_FLAGS) + +dnl ========================================================================== + ENABLE_PROFILER= AC_ARG_ENABLE(profiler, AC_HELP_STRING([--enable-profiler], [Enable profiler]), @@ -479,6 +485,9 @@ data/icons/scalable/Makefile data/icons/scalable/apps/Makefile data/patterns/Makefile docs/Makefile +docs/reference/Makefile +docs/reference/libnautilus-extension/Makefile +docs/reference/libnautilus-extension/version.xml icons/Makefile libbackground/Makefile libnautilus-private/Makefile @@ -511,4 +520,5 @@ nautilus-$VERSION: beagle support: $msg_beagle profiling support: ${profiling_support} + nautilus-extension documentation: ${enable_gtk_doc} " diff --git a/docs/Makefile.am b/docs/Makefile.am index e4bc1bdf6..1ee1b8aac 100644 --- a/docs/Makefile.am +++ b/docs/Makefile.am @@ -1,5 +1,7 @@ NULL = +SUBDIRS = reference + EXTRA_DIST = \ architecture.txt \ dnd.txt \ diff --git a/docs/reference/Makefile.am b/docs/reference/Makefile.am new file mode 100644 index 000000000..fd642edea --- /dev/null +++ b/docs/reference/Makefile.am @@ -0,0 +1 @@ +SUBDIRS = libnautilus-extension diff --git a/docs/reference/libnautilus-extension/Makefile.am b/docs/reference/libnautilus-extension/Makefile.am new file mode 100644 index 000000000..8e2b48ad1 --- /dev/null +++ b/docs/reference/libnautilus-extension/Makefile.am @@ -0,0 +1,74 @@ +## Process this file with automake to produce Makefile.in + +# We require automake 1.6 at least. +AUTOMAKE_OPTIONS = 1.6 + +# The name of the module, e.g. 'glib'. +DOC_MODULE=libnautilus-extension + +# The top-level SGML file. You can change this if you want to. +DOC_MAIN_SGML_FILE=$(DOC_MODULE)-docs.xml + +# The directory containing the source code. Relative to $(srcdir). +# gtk-doc will search all .c & .h files beneath here for inline comments +# documenting the functions and macros. +# e.g. DOC_SOURCE_DIR=../../../libnautilus-extension +DOC_SOURCE_DIR=$(top_srcdir)/libnautilus-extension + +# Extra options to pass to gtkdoc-scangobj. Not normally needed. +SCANGOBJ_OPTIONS=--type-init-func="g_type_init()" + +# Extra options to supply to gtkdoc-scan. +# e.g. SCAN_OPTIONS=--deprecated-guards="GTK_DISABLE_DEPRECATED" +SCAN_OPTIONS=--deprecated-guards="G_DISABLE_DEPRECATED" + +# Extra options to supply to gtkdoc-mkdb. +# e.g. MKDB_OPTIONS=--sgml-mode --output-format=xml +MKDB_OPTIONS=--sgml-mode --output-format=xml + +# Extra options to supply to gtkdoc-mktmpl +# e.g. MKTMPL_OPTIONS=--only-section-tmpl +MKTMPL_OPTIONS= + +# Extra options to supply to gtkdoc-fixref. Not normally needed. +# e.g. FIXXREF_OPTIONS=--extra-dir=../gdk-pixbuf/html --extra-dir=../gdk/html +FIXXREF_OPTIONS= + +HFILE_GLOB=$(top_srcdir)/libnautilus-extension/*.h +CFILE_GLOB=$(top_srcdir)/libnautilus-extension/*.c + +IGNORE_HFILES= \ + $(NULL) + +EXTRA_HFILES= \ + $(NULL) + +HTML_IMAGES= + +content_files= \ + version.xml \ + $(NULL) + +# SGML files where gtk-doc abbrevations (#GtkWidget) are expanded +# These files must be listed here *and* in content_files +# e.g. expand_content_files=running.sgml +expand_content_files= \ + $(NULL) + +# CFLAGS and LDFLAGS for compiling gtkdoc-scangobj with your library. +# Only needed if you are using gtkdoc-scangobj to dynamically query widget +# signals and properties. +# e.g. INCLUDES=-I$(top_srcdir) -I$(top_builddir) $(GTK_DEBUG_FLAGS) +# e.g. GTKDOC_LIBS=$(top_builddir)/gtk/$(gtktargetlib) + +INCLUDES=-I$(top_srcdir) $(CORE_CFLAGS) +GTKDOC_LIBS= -L$(top_builddir) $(CORE_LIBS) \ + $(top_builddir)/libnautilus-extension/libnautilus-extension.la \ + $(NULL) + +# This includes the standard gtk-doc make rules, copied by gtkdocize. +include $(top_srcdir)/gtk-doc.make + +# Other files to distribute +# e.g. EXTRA_DIST += version.xml.in +EXTRA_DIST += version.xml.in diff --git a/docs/reference/libnautilus-extension/libnautilus-extension-docs.xml b/docs/reference/libnautilus-extension/libnautilus-extension-docs.xml new file mode 100644 index 000000000..5df19cb5f --- /dev/null +++ b/docs/reference/libnautilus-extension/libnautilus-extension-docs.xml @@ -0,0 +1,36 @@ +<?xml version="1.0"?> +<!DOCTYPE book PUBLIC "-//OASIS//DTD DocBook XML V4.1.2//EN" + "http://www.oasis-open.org/docbook/xml/4.1.2/docbookx.dtd" [ +<!ENTITY version SYSTEM "version.xml"> +]> + +<book id="index" xmlns:xi="http://www.w3.org/2003/XInclude"> + <bookinfo> + <title>Nautilus Extension Reference Manual</title> + <releaseinfo>For Nautilus-Extension &version;</releaseinfo> + + </bookinfo> + + <part> + <title>API Reference</title> + + <chapter> + <title>Extension Interfaces</title> + <xi:include href="xml/nautilus-column-provider.xml" /> + <xi:include href="xml/nautilus-column.xml" /> + <xi:include href="xml/nautilus-extension-i18n.xml" /> + <xi:include href="xml/nautilus-extension-types.xml" /> + <xi:include href="xml/nautilus-file-info.xml" /> + <xi:include href="xml/nautilus-info-provider.xml" /> + <xi:include href="xml/nautilus-location-widget-provider.xml" /> + <xi:include href="xml/nautilus-menu-provider.xml" /> + <xi:include href="xml/nautilus-menu.xml" /> + <xi:include href="xml/nautilus-property-page-provider.xml" /> + <xi:include href="xml/nautilus-property-page.xml" /> + </chapter> + + </part> + <index> + <title id="index-all">Index</title> + </index> +</book> diff --git a/docs/reference/libnautilus-extension/libnautilus-extension.types b/docs/reference/libnautilus-extension/libnautilus-extension.types new file mode 100644 index 000000000..db2866d5c --- /dev/null +++ b/docs/reference/libnautilus-extension/libnautilus-extension.types @@ -0,0 +1,11 @@ +nautilus_property_page_provider_get_type +nautilus_location_widget_provider_get_type +nautilus_operation_result_get_type +nautilus_file_info_get_type +nautilus_property_page_get_type +nautilus_info_provider_get_type +nautilus_column_get_type +nautilus_column_provider_get_type +nautilus_menu_provider_get_type +nautilus_menu_get_type +nautilus_menu_item_get_type diff --git a/docs/reference/libnautilus-extension/version.xml.in b/docs/reference/libnautilus-extension/version.xml.in new file mode 100644 index 000000000..4ac82962c --- /dev/null +++ b/docs/reference/libnautilus-extension/version.xml.in @@ -0,0 +1 @@ +@NAUTILUS_EXTENSION_VERSION_INFO@ |