]> git.ipfire.org Git - thirdparty/gnutls.git/commitdiff
functions and enumerations are being added in index.
authorNikos Mavrogiannopoulos <nmav@gnutls.org>
Tue, 13 Sep 2011 20:18:12 +0000 (22:18 +0200)
committerNikos Mavrogiannopoulos <nmav@gnutls.org>
Tue, 13 Sep 2011 20:18:12 +0000 (22:18 +0200)
doc/scripts/gdoc

index 86dceb3c689d54e3c6de570b82ba21a7577947fe..8705d8c099ac8801ab36af49fd25dfc5606a57f5 100755 (executable)
@@ -430,6 +430,7 @@ sub output_tex {
 
     print "\n\n\\begin{function}\n";
     print "\\functionTitle{". $func . "}\n";
+    print "\\index{". $func . "}\n";
 
     $type = $args{'functiontype'};
     $type =~ s/_/\\_/g;
@@ -518,6 +519,7 @@ sub output_enum_tex {
     print "\n\n\\begin{enum}\n";
     $name =~ s/_/\\_/g;
     print "\\enumTitle{". $name . "}\n";
+    print "\\index{". $name . "}\n";
 
     print "\n\\begin{enumList}\n";