Lichen

docs/tools/make_docs.sh

898:316708ceb335
2019-04-14 Paul Boddie Renamed FrontPage to Lichen, also changing the FullSearch macro to PageList. Updated the page packaging script and added a script for moinconvert.
     1 #!/bin/sh     2      3 THISDIR=`dirname "$0"`     4 INDIR="$THISDIR/../wiki"     5 OUTDIR="$THISDIR/../html"     6      7 MAPPING='--mapping WikiPedia https://en.wikipedia.org/wiki/'     8 THEME='--theme mercurial'     9     10 if [ "$1" = '--web' ] ; then    11     DOCINDEX=    12     shift 1    13 else    14     DOCINDEX='--document-index index.html'    15 fi    16     17 FILENAMES=${*:-'--all'}    18     19 moinconvert --input-dir "$INDIR" \    20             --input-page-sep '--' \    21             --output-dir "$OUTDIR" \    22             --root Lichen \    23             --format html \    24             --macros \    25             $DOCINDEX \    26             $MAPPING \    27             $THEME \    28             $FILENAMES