GNOME Bugzilla – Bug 598598
Linking across GNOME components
Last modified: 2009-10-16 15:00:48 UTC
If I click on a link to documentation about a different GNOME component from the one I'm looking at in devhelp (eg if I click on a link to GdkScreen while browsing GtkWidget documentation) it opens the online website in my web browser. It would be good if devhelp could parse links and detect when they're to another component whose documentation is installed locally and open the correspoonding page in devhelp itself.
At first I would have pointed this something to fix in the distribution with gtkdoc-fixxref but finally it is not too expensive to check local symbols on such clicks, so here it is: commit 011eb18d8623d011e5ea96472d86f17cd2d3c4f1 Author: Frédéric Péters <fpeters@0d.be> Date: Fri Oct 16 12:09:26 2009 +0200 Look for a local copy of URIs hosted on library.gnome.org (GNOME bug 598598) (it will be in 2.30, and perhaps I'll backport it for 2.28.2).
Thanks. I think runtime is the best time to find the cross-references, otherwise whenever a documentation package gets installed or removed, all the other docs which might depend on it would have to be rebuilt. I don't know if there's already dependency tracking in gtk-doc, but even is there is, it would cause a lot of extra work when (un)installing doc packages.