Landfall

docs/tools/make_docs.sh

298:16d7ccdedcf0
6 months ago Paul Boddie Introduced specialisations of the RTC peripheral functionality along with the mechanism providing generic access to such functionality. cpm-library-improvements
     1 #!/bin/sh     2      3 THISDIR=`dirname "$0"`     4 INDIR="$THISDIR/../wiki"     5 OUTDIR="$THISDIR/../html"     6      7 ROOT="Landfall"     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