X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/2cc20f1526f80e1c731e986a50c5b77fa7e223d8..5a25b8089e4305ec691c460487a77e5c1d07aeb8:/tools/doxygen/doxygen_postprocesser.pl diff --git a/tools/doxygen/doxygen_postprocesser.pl b/tools/doxygen/doxygen_postprocesser.pl index f35e84a59a..fe7fc395f5 100755 --- a/tools/doxygen/doxygen_postprocesser.pl +++ b/tools/doxygen/doxygen_postprocesser.pl @@ -3,11 +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 html/options.html html/use.html html/gtnets.html - html/ns3.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/tracing.html html/platform.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 @@ -252,8 +251,9 @@ sub handle_page { print TO "$_"; last if ((m||)&&($found_div_tabs)); } - + print TO "\n\n"; + foreach (@tabs) { # print "TAB: $_"; print TO "$_"; @@ -340,7 +340,6 @@ add_tabs_to_module_html; ### map {push @allfiles,$_} @extra_files; print "All files: ".(join(", ",@allfiles))."\n" if $debug{'parse'}; - my $tabs; foreach my $file (@allfiles) { @@ -383,37 +382,37 @@ foreach my $file (@allfiles) { if( $_ =~ /<\/ul>/ && $tabs){ my $tmp_buff=""; $tmp_buff .= '
  • Using SimGrid
  • '."\n"; - $tmp_buff .= '
  • FAQ Page
  • '."\n"; - $tmp_buff .= '
  • Publications
  • '."\n"; - $tmp_buff .= '
  • People
  • '."\n"; - $tmp_buff .= '
  • History
  • '."\n"; - $tmp_buff .= '
  • Contrib
  • '."\n"; - $tmp_buff .= '
  • Simgrid Forge
  • '."\n"; - $tmp_buff .= '
  • Home
  • '."\n"; - $tmp_buff .= '
  • Site Map
  • '."\n"; + $tmp_buff .= '
  • Forge
  • '."\n"; + $tmp_buff .= '
  • Website
  • '."\n"; + $tmp_buff .= '
  • Documentation index
  • '."\n"; + $tmp_buff .= '
  • FAQ
  • '."\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\/install.*/ + || $file =~ /^html\/options.*/ + || $file =~ /^html\/tracing.*/ + || $file =~ /^html\/platform.*/ || $file =~ /^html\/bindings.*/ - || $file =~ /^html\/gtnets.*/ - || $file =~ /^html\/ns3.*/ + || $file =~ /^html\/pls.*/ || $file =~ /^html\/modules.*/ - || $file =~ /^html\/annotated.*/) + || $file =~ /^html\/annotated.*/ + || $file =~ /^html\/group__.*/ + || $file =~ /^html\/functions.*/) { $tmp_buff .= '
    '."\n"; $tmp_buff .= '
    '."\n"; $tmp_buff .= ' '."\n"; @@ -429,20 +428,23 @@ 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.*/ + || $file =~ /^html\/FAQ.*/) { my $filename = $file; $filename =~ s/html\///g; $filename =~ s/\.html//g; - $filename =~ s/publis_.*/publis/g; $tmp_buff =~ s/
  • /
  • /g; $tmp_buff =~ s/
  • /
  • /g; } + if($file =~ /^html\/group__.*/) + { + $tmp_buff =~ s/
  • /
  • /g; + } + if($file =~ /^html\/functions.*/) + { + $tmp_buff =~ s/
  • /
  • /g; + } print TO $tmp_buff; @@ -450,11 +452,20 @@ foreach my $file (@allfiles) { } 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|
  • Modules API
  • \n||g; + if($file =~ /^html\/group__.*/) + { + s|
  • |
  • |g; + s|
  • Modules API
  • \n|
  • Modules API
  • \n|g; + } + else + { + s|
  • Modules API
  • \n||g; + } + s|
  • Data Structures
  • \n||g; s|
  • Data Structures
  • \n||g; - s|Related Pages<|Site Map<|g; + s|Related Pages<|Documentation index<|g; print TO $_; }