Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
we knew we won't explain how to install emacs here (shorten the URL)
[simgrid.git] / tools / doxygen / doxygen_postprocesser.pl
index bd15975..80e8fc9 100755 (executable)
@@ -5,8 +5,8 @@ use strict;
 # Add here the pages of the documentation generated by a @page doxygen macro
 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/tracing.html html/installSimgrid.html html/bindings.html
-                     html/options.html html/use.html html/pls.html);
+                     html/GRAS_tut.html html/tracing.html html/install.html html/bindings.html
+                     html/options.html html/use.html html/pls.html html/FAQ.html);
 
 # GRAS tutorial
 map {push @extra_files, "html/GRAS_tut_$_.html"} qw (intro 
@@ -385,13 +385,14 @@ foreach my $file (@allfiles) {
                $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 .= '      <li><a href="FAQ.html"><span>FAQ</span></a></li>'."\n";
                $tmp_buff .= $_;
                $tabs = 0;
 
              # Rework the navbar and add menu for use.html
              # Fix the current "button" of buggy Doxygen tabs  
              if($file =~ /^html\/use.*/
-             || $file =~ /^html\/installSimgrid.*/
+             || $file =~ /^html\/install.*/
              || $file =~ /^html\/options.*/
              || $file =~ /^html\/tracing.*/ 
              || $file =~ /^html\/bindings.*/
@@ -403,7 +404,7 @@ foreach my $file (@allfiles) {
              {
                                $tmp_buff .= '      <div class="tabs_group_use">'."\n";
                                $tmp_buff .= '          <ul class="tablist">'."\n";
-                               $tmp_buff .= '          <li><a href="installSimgrid.html"><span>Install SimGrid</span></a></li>'."\n";
+                               $tmp_buff .= '          <li><a href="install.html"><span>Install SimGrid</span></a></li>'."\n";
                                $tmp_buff .= '          <li><a href="modules.html"><span>Modules&#160;API</span></a></li>'."\n";
                        $tmp_buff .= '          <li><a href="annotated.html"><span>Data&#160;Structures</span></a></li>'."\n";
                                $tmp_buff .= '          <li><a href="options.html"><span>Options & configurations</span></a></li>'."\n";
@@ -425,7 +426,8 @@ foreach my $file (@allfiles) {
        
              # Rework the navbar
              # Fix the current "button" of buggy Doxygen tabs   
-             if($file =~ /^html\/pages.*/)
+             if($file =~ /^html\/pages.*/
+             || $file =~ /^html\/FAQ.*/)
              {
                      my $filename = $file;
                      $filename =~ s/html\///g;