]> https://gitweb.dealii.org/ - dealii.git/commitdiff
Add an exception.
authorWolfgang Bangerth <bangerth@math.tamu.edu>
Sat, 13 Feb 2010 18:07:16 +0000 (18:07 +0000)
committerWolfgang Bangerth <bangerth@math.tamu.edu>
Sat, 13 Feb 2010 18:07:16 +0000 (18:07 +0000)
git-svn-id: https://svn.dealii.org/trunk@20605 0785d39b-7218-0410-832d-ea1e28bc413d

deal.II/doc/doxygen/filter

index 5a0434f78722aecbbb63a8ceb7e86e5fadd4b2c4..72b7b06a63d0214ec01a86e48eaa71316f872fea 100755 (executable)
@@ -23,4 +23,8 @@ s/dealii::/::/g;
 # documentation. Unfortunately, as a consequence, there are vestiges
 # of this style, so we can't substitute things that look like
 # "step-xx".
-s/(?<!\")step-(\d+)(?!\")/\@ref step_\1 \"step-\1\"/gi;
+#
+# There is another exception: the scripts in doc/doxygen/tutorial
+# produce files that have table of contents entries. We don't
+# want these cross-linked to itself.
+s/(?<!\")step-(\d+)(?!\")/\@ref step_\1 \"step-\1\"/gi if !m/\@page/;

In the beginning the Universe was created. This has made a lot of people very angry and has been widely regarded as a bad move.

Douglas Adams


Typeset in Trocchi and Trocchi Bold Sans Serif.