X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/d59a8f2b4e1386cfbce3b5ed7c6b523daa79f360..16198bc6c0b37b1b92d12240901a371f51c3a0f9:/tools/doxygen/doxygen_postprocesser.pl 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;