]> https://gitweb.dealii.org/ - dealii.git/commitdiff
allow doxygen links for step-xyb
authorTimo Heister <timo.heister@gmail.com>
Wed, 8 Aug 2018 15:18:10 +0000 (17:18 +0200)
committerTimo Heister <timo.heister@gmail.com>
Wed, 5 Sep 2018 15:00:56 +0000 (11:00 -0400)
doc/doxygen/scripts/filter

index b1d41fa501f2a5b2d6caa74cb2bc4eea7c18de98..16666a2a7ac474b969c952441d80e32a7afc24b0 100755 (executable)
@@ -82,12 +82,12 @@ while (<>)
     # - things like step-12.solution.png that typically appear in
     #   @image commands.
     # - things in headings
-    s/(?<![\"\\\/])step-(\d+)(?!\")/\@ref step_\1 \"step-\1\"/gi
+    s/(?<![\"\\\/])step-(\w+)(?!\")/\@ref step_\1 \"step-\1\"/gi
         if !m/(\@page|\<img|\@image|<h\d>)/i;
 
     # If step-xx was explicitly escaped with a backslash, remove the
     # latter
-    s/\\(step-\d+)/\1/g;
+    s/\\(step-\w+)/\1/g;
 
     # doxygen version 1.7.1 and later have the habit of thinking that
     # everything that starts with "file:" is the beginning of a link,

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.