gtk-doc r686 - trunk



Author: stefkost
Date: Sun Feb 22 11:53:18 2009
New Revision: 686
URL: http://svn.gnome.org/viewvc/gtk-doc?rev=686&view=rev

Log:
	* TODO:
	* gtkdoc-mkdb.in:
	  Prototype an idea.



Modified:
   trunk/ChangeLog
   trunk/TODO
   trunk/gtkdoc-mkdb.in

Modified: trunk/TODO
==============================================================================
--- trunk/TODO	(original)
+++ trunk/TODO	Sun Feb 22 11:53:18 2009
@@ -325,9 +325,13 @@
 * gobject: uses <reference> as a parent for the xi:includeed <refentry> docs
 
 = extra link for symbols =
+need options for configure:
+--enable-gtk-doc-codesearch-links
+--enable-gtk-doc-liveedit-links
 == viewvc,cgit,... ==
 - link to some online service for the code
 - problem: most don't have local anchors for the symbols
+- where to set the uri (in the document, like for online url)?
 == codesearch ==
 - google (code) link : http://www.google.com/codesearch?q=g_object_unref
 == live editing ==

Modified: trunk/gtkdoc-mkdb.in
==============================================================================
--- trunk/gtkdoc-mkdb.in	(original)
+++ trunk/gtkdoc-mkdb.in	Sun Feb 22 11:53:18 2009
@@ -1160,6 +1160,14 @@
     my $title = $symbol . ($args ? "()" : "");
     $desc = "<refsect2 id=\"$id\" role=\"macro\"$condition>\n<title>$title</title>\n";
     $desc .= MakeIndexterms($symbol, $id);
+    $desc .= "\n";
+    
+    # NEW FEATURE
+    #my $qstr=$symbol;
+    #$qstr =~ s/([^A-Za-z0-9])/sprintf("%%%02X", ord($1))/seg;
+    #$desc .= "<ulink role=\"extralinks\" url=\"http://www.google.com/codesearch?q=$qstr\";>code search</ulink>";
+    #$desc .= "\n";
+    # NEW FEATURE
 
     # Don't output the macro definition if is is a conditional macro or it
     # looks like a function, i.e. starts with "g_" or "_?gnome_", or it is



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