X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/16198bc6c0b37b1b92d12240901a371f51c3a0f9..0a86432f4011e79a1a6f0f7d463a9020fd08fe30:/tools/doxygen/doxygen_postprocesser.pl diff --git a/tools/doxygen/doxygen_postprocesser.pl b/tools/doxygen/doxygen_postprocesser.pl index 7403f89ac9..da9a38cabf 100755 --- a/tools/doxygen/doxygen_postprocesser.pl +++ b/tools/doxygen/doxygen_postprocesser.pl @@ -5,7 +5,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 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 index.php + html/pages.html html/modules.html html/annotated.html index.php html/GRAS_tut.html); # GRAS tutorial @@ -301,6 +301,8 @@ handle_page($top,-2);# skip roots (we have 2 roots) in level counting map {push @allfiles,$_} @extra_files; print "All files: ".(join(", ",@allfiles))."\n" if $debug{'parse'}; +my $tabs; + foreach my $file (@allfiles) { $file =~ s/.html/.handlepage.html/ if $debug{'rename'}; # Take right name if debugging @@ -327,6 +329,23 @@ foreach my $file (@allfiles) { next; } } + if($file =~ "^html/faq.*"){ + if ($_ =~ /[\ ]*
  • .*/) { + $_ =~ s/ class="current"//g; + print TO $_; + next; + } + } + if( $_ =~ //){$tabs = 1;} + if( $_ =~ /<\/div>/){$tabs = 0;} + if( $_ =~ /<\/ul>/ && $tabs){ + if($file =~ "^html/faq.*"){ + print TO '
  • FAQ Page
  • '."\n";} + else{ + print TO '
  • FAQ Page
  • '."\n";} + print TO $_; + next; + } # if (m,
  • Data\ Structures
  • ,) { # print TO ' Publications'."\n"; # print TO ' People'."\n";