From a13f1d80af3fdf8c9bf34f422c84b92f4dd9b08b Mon Sep 17 00:00:00 2001 From: mquinson Date: Fri, 29 Jun 2007 14:51:07 +0000 Subject: [PATCH] Fix various issues raised by newest version of doxygen git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/simgrid/simgrid/trunk@3615 48e7efb5-ca39-0410-a469-dd3cf9ba447f --- tools/doxygen/doxygen_postprocesser.pl | 31 ++++++++++++++++---------- 1 file changed, 19 insertions(+), 12 deletions(-) diff --git a/tools/doxygen/doxygen_postprocesser.pl b/tools/doxygen/doxygen_postprocesser.pl index 83e3ee74e3..d351a0d3c6 100755 --- a/tools/doxygen/doxygen_postprocesser.pl +++ b/tools/doxygen/doxygen_postprocesser.pl @@ -38,9 +38,9 @@ my $entry; $current->{'label'}="ROOT"; push @{$top->{'down'}},$current; +print "Push $current as child of $top\n" if $debug{'parse'}; $current=$top; -print "Push $current as child of $top\n" if $debug{'parse'}; while () { if (/|; + s|
  • [^<]*
  • |
  • Modules API
  • |; +# print "++Write $_"; + print TO "$_"; + last if (m||); } foreach (@tabs) { - print TO $_; +# print "TAB: $_"; + print TO "$_"; } while () { - print TO $_; + print TO "$_"; } close FROM; close TO; rename("$newname","html/$current->{'file'}") unless $debug{'rename'}; -# print "mv $newname html/$current->{'file'}\n"; } # recurse on childs @@ -220,6 +225,8 @@ handle_page($top,-2);# skip roots (we have 2 roots) in level counting map {push @allfiles,$_} @extra_files; foreach my $file (@allfiles) { + $file =~ s/.html/.handlepage.html/ if $debug{'rename'}; # Take right name if debugging + open FROM,"$file" || die; my $outfile = "$file"; $outfile =~ s/.(html|php)$/.new.$1/; @@ -232,12 +239,12 @@ foreach my $file (@allfiles) { # Rework the navbar if (m,
  • Main\ Page
  • ,) { - print TO '
  • Overview
  • '."\n"; - print TO '
  • FAQ
  • '."\n"; + print TO ' Overview'."\n"; + print TO ' FAQ'."\n"; next; } if (m,
  • Data\ Structures
  • ,) { - print TO '
  • Publications
  • '."\n"; + print TO ' Publications'."\n"; next; } s|Modules|Modules API|g; -- 2.20.1