22 Sep 2007 dgh   » (Journeyer)

D-Bus API in DevHelp

The Telepathy API has until recently only been available as a single large HTML document. The HTML is generated from D-Bus introspection XML with extensions for stuff like enums. I hacked up a conversion to DevHelp's index format, meaning you can use DevHelp to browse the documentation.

To set it up:

  • check out the telepathy-spec repository
  • run make
  • copy doc/spec.html and doc/telepathy-spec.devhelp2 to a directory /usr/share/doc/gtk-doc/html/telepathy-spec/

This might also work for other D-Bus APIs; I haven't tried.

(If you're developing using Gtk/GLib/Cairo/Pango/GStreamer/etc. and not tried DevHelp, I heartily recommend it. It's really handy, especially with the Ctrl-S shortcut.)

Syndicated 2007-09-22 15:16:28 (Updated 2007-09-22 15:16:56) from Dafydd

Latest blog entries     Older blog entries

New Advogato Features

New HTML Parser: The long-awaited libxml2 based HTML parser code is live. It needs further work but already handles most markup better than the original parser.

Keep up with the latest Advogato features by reading the Advogato status blog.

If you're a C programmer with some spare time, take a look at the mod_virgule project page and help us with one of the tasks on the ToDo list!