From: Wolfgang Bangerth Date: Sat, 13 Feb 2016 13:22:33 +0000 (-0600) Subject: Add authors to the lines that list the code gallery programs. X-Git-Tag: v8.4.0-rc2~2^2~1 X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=ccde49d1112e518e233e307947667d9220852570;p=dealii.git Add authors to the lines that list the code gallery programs. --- diff --git a/doc/doxygen/scripts/code-gallery.pl b/doc/doxygen/scripts/code-gallery.pl index 0bc718c33c..8f37c3732c 100644 --- a/doc/doxygen/scripts/code-gallery.pl +++ b/doc/doxygen/scripts/code-gallery.pl @@ -35,8 +35,15 @@ print "
\n"; foreach my $gallery (sort @ARGV) { my $gallery_underscore = $gallery; + + open AUTHOR, "<$gallery_dir/$gallery/doc/author"; + my $authors; + while (my $line = ) { + $authors .= $line; + } + $gallery_underscore =~ s/-/_/; - print "
\@ref code_gallery_${gallery_underscore} \"$gallery\"
\n"; + print "
\@ref code_gallery_${gallery_underscore} \"$gallery\" (by $authors)
\n"; print "
\n"; open TOOLTIP, "<$gallery_dir/$gallery/doc/tooltip"; while (my $line = ) {