MoinLight

docs/tools/make_docs.sh

311:4b86f7f894b8
2021-10-26 Paul Boddie Fixed table feature padding patterns to consume only a single line.
     1 #!/bin/sh     2      3 THISDIR=`dirname "$0"`     4 INDIR="$THISDIR/../wiki"     5 OUTDIR="$THISDIR/../html"     6      7 ROOT="MoinLight"     8      9 MAPPING='    10 --mapping WikiPedia https://en.wikipedia.org/wiki/    11 --mapping MoinMoin https://moinmo.in/    12 '    13     14 THEME='--theme mercurial'    15     16 if [ "$1" = '--web' ] ; then    17     DOCINDEX=    18     shift 1    19 else    20     DOCINDEX='--document-index index.html'    21 fi    22     23 FILENAMES=${*:-'--all'}    24     25 moinconvert --input-dir "$INDIR" \    26             --input-page-sep '--' \    27             --output-dir "$OUTDIR" \    28             --root "$ROOT" \    29             --format html \    30             --macros \    31             $DOCINDEX \    32             $MAPPING \    33             $THEME \    34             $FILENAMES