Lichen

docs/tools/make_docs.sh

934:2989aab1b4f7
2021-06-29 Paul Boddie Renamed the utf8string class to unicode, eliminating the unicode function. This means that the simple case of merely returning an object if it is already a Unicode object no longer occurs when using the unicode callable, but such behaviour might be better supported with more general customised instantiation functionality.
     1 #!/bin/sh     2      3 THISDIR=`dirname "$0"`     4 INDIR="$THISDIR/../wiki"     5 OUTDIR="$THISDIR/../html"     6      7 ROOT="Lichen"     8      9 MAPPING='--mapping WikiPedia https://en.wikipedia.org/wiki/'    10 THEME='--theme mercurial'    11     12 if [ "$1" = '--web' ] ; then    13     DOCINDEX=    14     shift 1    15 else    16     DOCINDEX='--document-index index.html'    17 fi    18     19 FILENAMES=${*:-'--all'}    20     21 moinconvert --input-dir "$INDIR" \    22             --input-page-sep '--' \    23             --output-dir "$OUTDIR" \    24             --root "$ROOT" \    25             --format html \    26             --macros \    27             $DOCINDEX \    28             $MAPPING \    29             $THEME \    30             $FILENAMES