mirror of
https://develop.openfoam.com/Development/openfoam.git
synced 2025-11-28 03:28:01 +00:00
GIT: Initial state after latest Foundation merge
This commit is contained in:
@ -7,7 +7,7 @@
|
||||
# equivalent
|
||||
#------------------------------------------------------------------------------
|
||||
|
||||
# new FSF address
|
||||
# New FSF address
|
||||
/^License/,/\*\//{
|
||||
/^License/,\%http://www.gnu.org/licenses%{
|
||||
s?^License.*?\*\/\
|
||||
@ -26,7 +26,7 @@ s?^License.*?\*\/\
|
||||
}
|
||||
|
||||
|
||||
# remove entry
|
||||
# Remove entry
|
||||
/^Application *$/{
|
||||
N
|
||||
N
|
||||
@ -34,7 +34,7 @@ d
|
||||
}
|
||||
|
||||
|
||||
# remove entry
|
||||
# Remove entry
|
||||
/^Global *$/{
|
||||
N
|
||||
N
|
||||
@ -79,7 +79,7 @@ s/Class *\n *\(.*\) */\\class \1/
|
||||
# Group
|
||||
# groupName
|
||||
# =>
|
||||
# \ingroup namespaceName
|
||||
# \ingroup groupName
|
||||
#
|
||||
/^Group *$/,/^[^ ]/{
|
||||
s/^Group//
|
||||
@ -108,7 +108,7 @@ s/^ /\\typedef /
|
||||
}
|
||||
|
||||
|
||||
# add anchor and use \brief
|
||||
# Add anchor and use \brief
|
||||
# the first paragraph will be 'brief' and the others 'detail'
|
||||
/^Description *$/,/^[^ ]/{
|
||||
/^Description/c\
|
||||
@ -123,8 +123,8 @@ s/^ //
|
||||
}
|
||||
|
||||
|
||||
/^See *Also *$/,/^[^ ]/{
|
||||
/^See *Also/c\
|
||||
/^See *[Aa]lso *$/,/^[^ ]/{
|
||||
/^See *[Aa]lso/c\
|
||||
\\see
|
||||
s/^ //
|
||||
}
|
||||
@ -136,13 +136,6 @@ s/^ //
|
||||
}
|
||||
|
||||
|
||||
# remove ToDo paragraph to avoid them showing on related pages
|
||||
/^To[Dd]o *$/,/^[^ ]/{
|
||||
s/^To[Dd]o *$//
|
||||
s/^ .*//
|
||||
}
|
||||
|
||||
|
||||
/^Warning *$/,/^[^ ]/{
|
||||
/^Warning/c\
|
||||
\\warning
|
||||
@ -150,13 +143,6 @@ s/^ //
|
||||
}
|
||||
|
||||
|
||||
/^Deprecated *$/,/^[^ ]/{
|
||||
/^Deprecated/c\
|
||||
\\deprecated
|
||||
s/^ //
|
||||
}
|
||||
|
||||
|
||||
/^SourceFiles *$/,/^$/{
|
||||
s?SourceFiles?\\par Source files\
|
||||
<ul><li><a href="%filePath%">%fileName%</a></li>?
|
||||
@ -164,6 +150,7 @@ s? *\([a-zA-Z0-9]*\.[a-zA-Z]*\)? <li><a href="%dirName%/\1">\1</a></li>?
|
||||
s?^$?</ul>?
|
||||
}
|
||||
|
||||
|
||||
/fileName%<\/a><\/li>$/{
|
||||
N
|
||||
s?\n$?</ul>?g
|
||||
@ -174,12 +161,13 @@ s? *\([a-zA-Z0-9]*\.[a-zA-Z]*\)? <li><a href="%dirName%/\1">\1</a></li>?
|
||||
s/.*\*\//\*\//
|
||||
|
||||
|
||||
# convert /heading in source files to bold font and add some space
|
||||
s#\\heading \(.*\)#<br><b>\1</b><br>#g
|
||||
# Convert \heading in source files to bold font and add some space
|
||||
s#\\heading \(.*\)#<br><b>\1</b>#g
|
||||
|
||||
# add a linebreak
|
||||
s#\\linebreak#<br>#g
|
||||
|
||||
}
|
||||
|
||||
|
||||
#------------------------------------------------------------------------------
|
||||
|
||||
Reference in New Issue
Block a user