[gtk-doc] fixxref: provide link targets for sme gobject base types



commit dcf6596cc7c0259fcaf15e7da47d296447318584
Author: Stefan Sauer <ensonic users sf net>
Date:   Mon Feb 17 19:42:07 2014 +0100

    fixxref: provide link targets for sme gobject base types

 gtkdoc-fixxref.in |    7 +++++++
 1 files changed, 7 insertions(+), 0 deletions(-)
---
diff --git a/gtkdoc-fixxref.in b/gtkdoc-fixxref.in
index 7fd5e9d..e59a3d8 100755
--- a/gtkdoc-fixxref.in
+++ b/gtkdoc-fixxref.in
@@ -112,6 +112,13 @@ $dir =~ s/\s+$//;
 $dir = $dir . "/share/gtk-doc/html";
 if (-d $dir && $dir ne $HTML_DIR) {
     @TRACE@("Scanning GLib directory: $dir");
+
+    # some predefined link targets to get links into type hierarchies as these
+    # have no targets
+    $Links{'GBoxed'} = "$dir/gobject/gobject-Boxed-Types.html";
+    $Links{'GEnum'} = "$dir/gobject/gobject-Enumeration-and-Flag-Types.html";
+    $Links{'GFlags'} = "$dir/gobject/gobject-Enumeration-and-Flag-Types.html";
+
     if ($dir !~ m%^\Q$path_prefix\E/%) {
         &ScanIndices ($dir, 1);
     } else {


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