2021-11-14 | Paul Boddie | file changeset files shortlog | Introduced copyable and mutable flags in the tagged region of attribute values. Such flags are set when new integer and floating point values are created, but the mutable flag is cleared when such attributes are propagated between functions in order to prevent values being replaced upon assignment to parameter names, this being a concern when value copying is introduced. | tagged-address-values |
paul@898 | 1 | #!/bin/sh |
paul@898 | 2 | |
paul@898 | 3 | THISDIR=`dirname "$0"` |
paul@898 | 4 | INDIR="$THISDIR/../wiki" |
paul@898 | 5 | OUTDIR="$THISDIR/../html" |
paul@898 | 6 | |
paul@899 | 7 | ROOT="Lichen" |
paul@899 | 8 | |
paul@898 | 9 | MAPPING='--mapping WikiPedia https://en.wikipedia.org/wiki/' |
paul@898 | 10 | THEME='--theme mercurial' |
paul@898 | 11 | |
paul@898 | 12 | if [ "$1" = '--web' ] ; then |
paul@898 | 13 | DOCINDEX= |
paul@898 | 14 | shift 1 |
paul@898 | 15 | else |
paul@898 | 16 | DOCINDEX='--document-index index.html' |
paul@898 | 17 | fi |
paul@898 | 18 | |
paul@898 | 19 | FILENAMES=${*:-'--all'} |
paul@898 | 20 | |
paul@898 | 21 | moinconvert --input-dir "$INDIR" \ |
paul@898 | 22 | --input-page-sep '--' \ |
paul@898 | 23 | --output-dir "$OUTDIR" \ |
paul@899 | 24 | --root "$ROOT" \ |
paul@898 | 25 | --format html \ |
paul@898 | 26 | --macros \ |
paul@898 | 27 | $DOCINDEX \ |
paul@898 | 28 | $MAPPING \ |
paul@898 | 29 | $THEME \ |
paul@898 | 30 | $FILENAMES |