From: Wolfgang Bangerth Date: Fri, 2 Feb 2018 21:00:55 +0000 (-0700) Subject: List for each tutorial what others it depends on. X-Git-Tag: v9.0.0-rc1~477^2 X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=de6021d191cfa97921faad4eae57c03a75a1df93;p=dealii.git List for each tutorial what others it depends on. --- diff --git a/doc/doxygen/scripts/make_step.pl b/doc/doxygen/scripts/make_step.pl index 36907f9e89..e1269c3c9c 100644 --- a/doc/doxygen/scripts/make_step.pl +++ b/doc/doxygen/scripts/make_step.pl @@ -27,7 +27,26 @@ $cmake_source_dir=$ARGV[1]; print "/** * \@page $step_underscore The $step tutorial program -\@htmlonly +"; + +open BF, "$cmake_source_dir/examples/$step/doc/builds-on" + or die "Can't open builds-on file $cmake_source_dir/examples/$step/doc/builds-on"; +my $buildson = ; +close BF; +chop $buildson; + +# At the very top, print which other programs this one builds on. The +# filter script will replace occurrences of step-XX by the appropriate +# links. +if ($buildson ne "") +{ + $buildson =~ s/ /, /g; + print "This tutorial depends on $buildson.\n\n"; +} + +# then show the table of contents +print +"\@htmlonly
Table of contents