1 # -----------------------------------------------------------------------------
6 # Transform human-readable tags such as 'Description' into the Doxygen
8 # -----------------------------------------------------------------------------
12 /^License/,\%http://www.gnu.org/licenses%{
14 \/\*! \\file %filePath%\
15 <b>Original source file</b> <a href="%filePath%">%fileName%</a>\
50 /^Primitive *$/,/^[^ ]/{
59 # \\class Foam::className
70 # \namespace namespaceName
72 /^Namespace *$/,/^[^ ]/{
82 /^Typedef *$/,/^[^ ]/{
88 # add anchor and use \brief
89 # the first paragraph will be 'brief' and the others 'detail'
90 /^Description *$/,/^[^ ]/{
92 <a class="anchor" name="Description"></a> \\brief
103 /^See *Also *$/,/^[^ ]/{
116 # remove ToDo paragraph to avoid them showing on related pages
117 /^To[Dd]o *$/,/^[^ ]/{
123 /^Warning *$/,/^[^ ]/{
130 /^Deprecated *$/,/^[^ ]/{
137 /^SourceFiles *$/,/^$/{
138 s?SourceFiles?\\par Source files\
139 <ul><li><a href="%filePath%">%fileName%</a></li>?
140 s? *\([a-zA-Z0-9]*\.[a-zA-Z]*\)? <li><a href="%dirName%/\1">\1</a></li>?
144 /fileName%<\/a><\/li>$/{
148 s? *\([a-zA-Z0-9]*\.[a-zA-Z]*\)? <li><a href="%dirName%/\1">\1</a></li>?
155 # -----------------------------------------------------------------------------