Files
OpenFOAM-12/bin/tools/doxyFilter-table.sed
Henry Weller bac518c1f2 doxyFilter: Added support for continuation lines in Doxygen tables
The continuation line are denoted by the \\ characters at the end of the
previous line e.g.

    \table
        Property     | Description                | Required    | Default value
        setAverage   | Switch to activate setting of average value | no | false
        perturb      | Perturb points for regular geometries | no | 1e-5
        fieldTableName | Alternative field name to sample | no| this field name
        mapMethod    | Type of mapping            | no | planarInterpolation
        offset       | Offset to mapped values    | no | Zero
        dataDir      | Top-level directory of the points and field data \\
                         | no | constant/boundaryData/\<patch name\>
        points       | Path including name of points file relative to dataDir \\
                         | no | points
        sample       | Name of the sub-directory in the time directories \\
                         containing the fields | no | ""
    \endtable
2017-11-01 21:37:56 +00:00

16 lines
389 B
Sed

#------------------------------------------------------------------------------
# Script
# doxyFilter-table.sed
#
# Description
# Splice lines in tables separated by the \\\n continuation tag
#------------------------------------------------------------------------------
/\\\\/{
N
s/\\\\\n */ /
}
#------------------------------------------------------------------------------