Doxygen: Updated scripts and css files to process OpenFOAM header files more robustly

and generate cleaner HTML files.
Thanks to Bruno Santos for various fixes and improvements.
Resolves bug reports:
    http://www.openfoam.org/mantisbt/view.php?id=1516
    http://www.openfoam.org/mantisbt/view.php?id=1016
    http://www.openfoam.org/mantisbt/view.php?id=1512
This commit is contained in:
Henry
2015-02-09 18:06:35 +00:00
parent ca026b5dc7
commit ae4cdef8b5
8 changed files with 252 additions and 20 deletions

View File

@ -11,7 +11,7 @@
/^License/,/\*\//{
/^License/,\%http://www.gnu.org/licenses%{
s?^License.*?\*\/\
\/\*! \\file %filePath%\
\/\*! \\file %realFilePath%\
<b>Original source file</b> <a href="%filePath%">%fileName%</a>\
\
\
@ -64,12 +64,14 @@ s/^ /\\relates /
# =>
# \\class Foam::namespaceName::className
#
/^Class *$/,/^[^ ]/{
/^Class *$/{
N
:loop
/.*:: *$/{
N
s/Class *\n *\(.*\) *\n *\(.*\) */\\class \1\2/
s/^ *\(.*\) *\n *\(.*\) */\1\2/
}
t loop
s/Class *\n *\(.*\) */\\class \1/
}