X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/e3fb6591308362a62ae7576a90e0ced99f39b7d4..d2bf78ef3304878995a537b02d90c8f598a5817f:/tools/doxygen/doxygen_postprocesser.pl diff --git a/tools/doxygen/doxygen_postprocesser.pl b/tools/doxygen/doxygen_postprocesser.pl index d2e925615e..026d291ff9 100755 --- a/tools/doxygen/doxygen_postprocesser.pl +++ b/tools/doxygen/doxygen_postprocesser.pl @@ -3,10 +3,10 @@ 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 - html/GRAS_tut.html html/installSimgrid.html html/bindings.html); +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); # GRAS tutorial map {push @extra_files, "html/GRAS_tut_$_.html"} qw (intro @@ -381,42 +381,69 @@ foreach my $file (@allfiles) { } if( $_ =~ /<\/ul>/ && $tabs){ my $tmp_buff=""; - $tmp_buff .= '
  • Install SimGrid
  • '."\n"; - $tmp_buff .= '
  • Bindings
  • '."\n"; - $tmp_buff .= '
  • Publications
  • '."\n"; - $tmp_buff .= '
  • People
  • '."\n"; - $tmp_buff .= '
  • History
  • '."\n"; - $tmp_buff .= '
  • Contrib
  • '."\n"; - $tmp_buff .= '
  • FAQ Page
  • '."\n"; - $tmp_buff .= '
  • Simgrid Forge
  • '."\n"; - $tmp_buff .= '
  • Home
  • '."\n"; + $tmp_buff .= '
  • Using SimGrid
  • '."\n"; + $tmp_buff .= '
  • Forge
  • '."\n"; + $tmp_buff .= '
  • Website
  • '."\n"; + $tmp_buff .= '
  • Documentation index
  • '."\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\/options.*/ + || $file =~ /^html\/bindings.*/ + || $file =~ /^html\/gtnets.*/ + || $file =~ /^html\/ns3.*/ + || $file =~ /^html\/modules.*/ + || $file =~ /^html\/annotated.*/) + { + $tmp_buff .= '
    '."\n"; + $tmp_buff .= '
    '."\n"; + $tmp_buff .= ' '."\n"; + + my $filename = $file; + $filename =~ s/html\///g; + $filename =~ s/\.html//g; + $filename =~ s/publis_.*/publis/g; + $tmp_buff =~ s/
  • /
  • /g; + $tmp_buff =~ s/
  • /
  • /g; + $tmp_buff =~ s/
  • /
  • /g; + + } # Rework the navbar # Fix the current "button" of buggy Doxygen tabs - if($file =~ /^html\/faq.*/ - || $file =~ /^html\/publis.*/ - || $file =~ /^html\/people.*/ - || $file =~ /^html\/history.*/ - || $file =~ /^html\/contrib.*/ - || $file =~ /^html\/installSimgrid.*/ - || $file =~ /^html\/bindings.*/) + if($file =~ /^html\/pages.*/) { my $filename = $file; $filename =~ s/html\///g; $filename =~ s/\.html//g; - $filename =~ s/publis_.*/publis/g; $tmp_buff =~ s/
  • /
  • /g; - $tmp_buff =~ s/
  • /
  • /g; + $tmp_buff =~ s/
  • /
  • /g; } - print TO $tmp_buff; + + + print TO $tmp_buff; next; } - - s|Modules|Modules API|g; - s|Related Pages|Site Plan|g; - + s|Modules|Modules API|g; + s|Related Pages
  • \n||g; + s|
  • Modules API
  • \n||g; + s|
  • Data Structures
  • \n||g; + s|
  • Modules API
  • \n||g; + s|
  • Data Structures
  • \n||g; + s|Related Pages<|Documentation index<|g; + print TO $_; } close FROM;