Revision 401:a0f6e994657f extra/soundsoftware

View differences:

extra/soundsoftware/matlab-docs.conf
135 135
#               if no, all files are saved in the same directory, often 
136 136
#               easier for outside linking to files
137 137
#------------------------------------------------------------------------
138
set producetree = no
138
set producetree = yes
139 139

  
140 140
#------------------------------------------------------------------------
141 141
# codebodyindex/files: HTML-code for adding to BODY tag
extra/soundsoftware/matlab-docs.pl
801 801
   else { $extradirfilename = $dirnamesingle{$LocalActDir}; }
802 802
   $indexfile = $var{'dirhtml'}.$dirnamerelpath{$LocalActDir}.$indexfilename.$var{'filenameextensionindex'}.$extradirfilename.$var{'exthtml'};
803 803

  
804
   if ($LocalShortLong eq 'short' and $var{'frames'} ne 'yes') {
805
       # With no frames, this must go in the top-level index file instead
804
   if ($LocalShortLong eq 'short' and $extradirfilename eq '' and $var{'frames'} ne 'yes') {
805
       # With no frames and no subdir path, this must go in the
806
       # top-level index file instead
806 807
       $indexfile = $var{'dirhtml'}.$var{'filenametopframe'}.$var{'exthtml'};
807 808
   }
808 809

  
......
878 879
   } elsif ($LocalShortLong eq 'long') {
879 880
      # begin create long index
880 881
      print IFILE "<table border=\"5\" width=\"100%\" cellpadding=\"5\">\n";
881
      print IFILE "<tr><th>Name</th><th>Description</th></tr>\n";
882
      print IFILE "<tr><th>Name</th><th>Synopsis</th></tr>\n";
882 883

  
883 884
      for('a'..'z') {
884 885
         # print "   $_: @{$_}\n";
......
1217 1218
      print HFILE "<title>$var{'texttitlefiles'} $mfilename{$name}</title>\n</head>\n";
1218 1219
      print HFILE "<body $var{'codebodyfiles'}>\n";
1219 1220
      print HFILE "<h1 $var{'codeheader'}>$var{'textheaderfiles'} $mfilename{$name}</h1>\n";
1221

  
1222
# http://test.soundsoftware.ac.uk/cannam/projects/smallbox/repository/annotate/DL/RLS-DLA/SolveFISTA.m
1223

  
1224
      print HFILE "<a href=\"" . $hfileindexpath{$name} . "../../projects/smallbox/repository/annotate/" . $mfiledir{$name}  . $mfilename{$name} . ".m\">View in repository</a>\n";
1225

  
1220 1226
      print HFILE "$var{'codehr'}\n";
1221 1227

  
1222 1228
      # include links to short/long - local/global index and C|contents.m

Also available in: Unified diff