Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
cosmetics to java documentation
[simgrid.git] / tools / doxygen / doxygen_postprocesser.pl
index aecd155..22b3d7d 100755 (executable)
@@ -3,7 +3,7 @@
 use strict;
 
 # Add here the pages of the documentation generated by a @page doxygen macro
-my @extra_files = qw(html/index.html html/faq.html html/history.html 
+my @extra_files = qw(html/index.html html/faq.html html/history.html html/people.html
                      html/publis.html html/publis_core.html html/publis_extern.html html/publis_intra.html
                      html/pages.html html/modules.html html/contrib.html index.php 
                      html/GRAS_tut.html);
@@ -241,7 +241,18 @@ sub handle_page {
 #      print "TAB: $_";
       print TO "$_";
     }
+    if ($current->{'file'} =~ m/^class/) {
+       while (<FROM>) {
+           last if (m|</div>|);
+       }
+      print TO "$_";   
+    }
     while (<FROM>) {
+      if (m/The documentation for/) {
+         while (<FROM>) {
+             last if (m/<p>/);
+         }
+      }
       print TO "$_";
     }    
     close FROM;
@@ -288,11 +299,12 @@ foreach my $file (@allfiles) {
       }
       if (m,<li><a href="(doc/)?annotated.html"><span>Data\&nbsp;Structures</span></a></li>,) {
         print TO '    <li'.($file =~ m,(doc/)?publis(_[^.]*)?.html, ? " class='current'" :"").'><a href="'.$1.'publis.html"><span>Publications</span></a></li>'."\n";
+        print TO '    <li'.($file =~ m,(doc/)?people.html, ? " class='current'" :"").'><a href="'.$1.'people.html"><span>People</span></a></li>'."\n";
         print TO '    <li'.($file =~ m,(doc/)?history.html, ? " class='current'" :"").'><a href="'.$1.'history.html"><span>History</span></a></li>'."\n";
         next;
       }
       s|<span>Modules</span>|<span>Modules API</span>|g;
-#      s|<li><a href="(doc/)?dirs.html"><span>Directories</span></a></li>||g;
+      s|<span>Related&nbsp;Pages</span>|<span>Site&nbsp;Plan</span>|g;
                                                                                                  
       print TO $_;
     }