No interest ? Hmm, it occurs to me that I should have made it easier to try this out. Here is a patch which can be applied to gtk/docs/reference/gtk to build the gtk docs "with graphs". I'll also attach some examples of the generated graphs. Matthias
Index: Makefile.am
===================================================================
RCS file: /cvs/gnome/gtk+/docs/reference/gtk/Makefile.am,v
retrieving revision 1.43
diff -u -b -B -p -r1.43 Makefile.am
--- Makefile.am 22 Mar 2003 19:12:55 -0000 1.43
+++ Makefile.am 23 Apr 2003 23:13:43 -0000
@@ -16,7 +16,7 @@ SCANGOBJ_OPTIONS=--type-init-func="gtk_t
SCAN_OPTIONS=--deprecated-guards="GTK_ENABLE_BROKEN|GTK_DISABLE_DEPRECATED"
# Extra options to supply to gtkdoc-mkdb
-MKDB_OPTIONS=--sgml-mode --output-format=xml
+MKDB_OPTIONS=--sgml-mode --output-format=xml --dot
# Extra options to supply to gtkdoc-fixref
FIXXREF_OPTIONS=--extra-dir=../gdk-pixbuf/html --extra-dir=../gdk/html
@@ -53,6 +53,8 @@ IGNORE_HFILES= \
# Images to copy into HTML directory
HTML_IMAGES = \
+ dot/*.png \
+ dot/legend.html \
$(top_srcdir)/gtk/stock-icons/stock_add_24.png \
$(top_srcdir)/gtk/stock-icons/stock_apply_20.png \
$(top_srcdir)/gtk/stock-icons/stock_text_bold_24.png \
Index: gtk-docs.sgml
===================================================================
RCS file: /cvs/gnome/gtk+/docs/reference/gtk/gtk-docs.sgml,v
retrieving revision 1.41
diff -u -b -B -p -r1.41 gtk-docs.sgml
--- gtk-docs.sgml 2 Feb 2003 22:24:48 -0000 1.41
+++ gtk-docs.sgml 23 Apr 2003 23:13:43 -0000
@@ -142,7 +143,7 @@
<!ENTITY gtk-Settings SYSTEM "xml/gtksettings.xml">
<!ENTITY index-Object-Tree SYSTEM "xml/tree_index.sgml">
-<!ENTITY graphic-tree SYSTEM "xml/tree_map.sgml">
+<!ENTITY graphic-tree SYSTEM "xml/tree_map.xml">
<!ENTITY index-Objects-Grouped SYSTEM "objects_grouped.sgml">
<!ENTITY gtk-TextWidget SYSTEM "text_widget.sgml">
@@ -251,7 +252,6 @@ that is, GUI components such as <link li
</variablelist>
</para>
</partintro>
- &graphic-tree;
>k-Building;
>k-Compiling;
>k-Running;
@@ -294,6 +294,10 @@ that is, GUI components such as <link li
<title>Object Hierarchy</title>
&index-Object-Tree;
</chapter>
+ <chapter>
+ <title>Inheritance Graph</title>
+ &graphic-tree;
+ </chapter>
<chapter id="WindowWidgets">
<title>Windows</title>
Attachment:
tree.png
Description: class tree for gdk
Attachment:
GtkTreeModelSort_tree.png
Description: local graph for GtkTreeModelSort