mirror of
https://develop.openfoam.com/Development/openfoam.git
synced 2025-11-28 03:28:01 +00:00
STYLE: improve formatting of doxygen filter output
This commit is contained in:
committed by
Mark Olesen
parent
834d46c64a
commit
6fd27353e4
@ -14,13 +14,6 @@ s?^License.*?\*\/\
|
||||
\/\*! \\file %realFilePath%\
|
||||
<b>Original source file</b> <a href="%filePath%">%fileName%</a>\
|
||||
\
|
||||
\
|
||||
\
|
||||
\
|
||||
\
|
||||
\
|
||||
\
|
||||
\
|
||||
?
|
||||
/^ /d
|
||||
}
|
||||
@ -112,7 +105,8 @@ s/^ /\\typedef /
|
||||
# the first paragraph will be 'brief' and the others 'detail'
|
||||
/^Description *$/,/^[^ ]/{
|
||||
/^Description/c\
|
||||
<a class="anchor" name="Description"></a> \\brief
|
||||
<a class="anchor" name="Description"></a>\
|
||||
\\brief
|
||||
s/^ //
|
||||
}
|
||||
|
||||
@ -145,7 +139,8 @@ s/^ //
|
||||
|
||||
/^SourceFiles *$/,/^$/{
|
||||
s?SourceFiles?\\par Source files\
|
||||
<ul><li><a href="%filePath%">%fileName%</a></li>?
|
||||
<ul>\
|
||||
<li><a href="%filePath%">%fileName%</a></li> ?
|
||||
s? *\([a-zA-Z0-9]*\.[a-zA-Z]*\)? <li><a href="%dirName%/\1">\1</a></li>?
|
||||
s?^$?</ul>?
|
||||
}
|
||||
@ -164,7 +159,7 @@ s/.*\*\//\*\//
|
||||
# Convert \heading in source files to bold font and add some space
|
||||
s#\\heading \(.*\)#<br><b>\1</b>#g
|
||||
|
||||
# add a linebreak
|
||||
# Add a linebreak
|
||||
s#\\linebreak#<br>#g
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user