From 16198bc6c0b37b1b92d12240901a371f51c3a0f9 Mon Sep 17 00:00:00 2001 From: navarrop Date: Tue, 29 Mar 2011 12:07:40 +0000 Subject: [PATCH] Re write the postprocesser for doxygen git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/simgrid/simgrid/trunk@9875 48e7efb5-ca39-0410-a469-dd3cf9ba447f --- tools/doxygen/doxygen_postprocesser.pl | 29 ++++++++++++++++---------- 1 file changed, 18 insertions(+), 11 deletions(-) diff --git a/tools/doxygen/doxygen_postprocesser.pl b/tools/doxygen/doxygen_postprocesser.pl index fb7a566f80..7403f89ac9 100755 --- a/tools/doxygen/doxygen_postprocesser.pl +++ b/tools/doxygen/doxygen_postprocesser.pl @@ -314,19 +314,26 @@ foreach my $file (@allfiles) { print TO ''."\n" if (m||); + # Rework the navbar - if (m,
  • Main\ Page
  • ,) { - print TO ' Overview'."\n"; - print TO ' FAQ'."\n"; - next; - } - if (m,
  • Data\ Structures
  • ,) { - print TO ' Publications'."\n"; - print TO ' People'."\n"; - print TO ' History'."\n"; - print TO ' Contrib'."\n"; - next; + if($file =~ "^html/index.*"){ + if ($_ =~ /
  • Main Page<\/span><\/a><\/li>/) { + print TO '
  • Main Page
  • '."\n"; + next; + } + elsif ($_ =~ /[\ ]*
  • .*/) { + $_ =~ s/ class="current"//g; + print TO $_; + next; + } } +# if (m,
  • Data\ Structures
  • ,) { +# print TO ' Publications'."\n"; +# print TO ' People'."\n"; +# print TO ' History'."\n"; +# print TO ' Contrib'."\n"; +# next; +# } s|Modules|Modules API|g; s|Related Pages|Site Plan|g; -- 2.20.1