Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Simgrid website documentation should be OK now. It's now separated totally from the...
[simgrid.git] / tools / doxygen / doxygen_postprocesser.pl
index f35e84a..026d291 100755 (executable)
@@ -3,9 +3,8 @@
 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 html/contrib.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/annotated.html html/functions.html html/functions_vars.html index.php 
+my @extra_files = qw(html/index.html html/pages.html html/modules.html html/annotated.html html/functions.html 
+                                        html/functions_vars.html index.php 
                      html/GRAS_tut.html html/installSimgrid.html html/bindings.html html/options.html html/use.html html/gtnets.html
                      html/ns3.html);
 
@@ -383,14 +382,9 @@ foreach my $file (@allfiles) {
       if( $_ =~ /<\/ul>/ && $tabs){
                my $tmp_buff="";
                $tmp_buff .= '      <li><a href="use.html"><span>Using SimGrid</span></a></li>'."\n";
-               $tmp_buff .= '      <li><a href="faq.html"><span>FAQ&#160;Page</span></a></li>'."\n";
-               $tmp_buff .= '      <li><a href="publis.html"><span>Publications</span></a></li>'."\n";
-               $tmp_buff .= '      <li><a href="people.html"><span>People</span></a></li>'."\n";
-               $tmp_buff .= '      <li><a href="history.html"><span>History</span></a></li>'."\n";
-               $tmp_buff .= '      <li><a href="contrib.html"><span>Contrib</span></a></li>'."\n";
-               $tmp_buff .= '      <li><a href="http://gforge.inria.fr/projects/simgrid"><span>Simgrid&#160;Forge</span></a></li>'."\n";
-               $tmp_buff .= '      <li><a href="http://simgrid.gforge.inria.fr/"><span>Home</span></a></li>'."\n";
-               $tmp_buff .= '      <li><a href="pages.html"><span>Site&nbsp;Map</span></a></li>'."\n";
+               $tmp_buff .= '      <li><a href="http://gforge.inria.fr/projects/simgrid"><span>Forge</span></a></li>'."\n";
+               $tmp_buff .= '      <li><a href="http://simgrid.gforge.inria.fr/"><span>Website</span></a></li>'."\n";
+               $tmp_buff .= '      <li><a href="pages.html"><span>Documentation&nbsp;index</span></a></li>'."\n";
                $tmp_buff .= $_;
                $tabs = 0;
 
@@ -429,17 +423,11 @@ foreach my $file (@allfiles) {
        
              # Rework the navbar
              # Fix the current "button" of buggy Doxygen tabs   
-             if($file =~ /^html\/publis.*/ 
-             || $file =~ /^html\/faq.*/
-             || $file =~ /^html\/people.*/ 
-             || $file =~ /^html\/history.*/ 
-             || $file =~ /^html\/contrib.*/
-             || $file =~ /^html\/pages.*/)
+             if($file =~ /^html\/pages.*/)
              {
                      my $filename = $file;
                      $filename =~ s/html\///g;
                      $filename =~ s/\.html//g;
-                     $filename =~ s/publis_.*/publis/g;
                      $tmp_buff =~ s/<li class="current">/<li>/g;
                      $tmp_buff =~ s/<li><a href="$filename.html">/<li class="current"><a href="$filename.html">/g;     
              }
@@ -454,7 +442,7 @@ foreach my $file (@allfiles) {
       s|<li><a href="annotated.html"><span>Data&#160;Structures</span></a></li>\n||g;
       s|<li class="current"><a href="modules.html"><span>Modules&#160;API</span></a></li>\n||g;
       s|<li class="current"><a href="annotated.html"><span>Data&#160;Structures</span></a></li>\n||g;
-      s|Related Pages<|Site&nbsp;Map<|g;
+      s|Related Pages<|Documentation&nbsp;index<|g;
                                                                                            
       print TO $_;
     }