2019-04-13 | Paul Boddie | raw annotate files changeset graph | Introduced wiki-format documents as the principal documentation. |
1 #!/bin/sh 2 3 if [ "$1" = '--web' ] ; then 4 DOCINDEX= 5 shift 1 6 else 7 DOCINDEX='--document-index index.html' 8 fi 9 10 FILENAMES=${*:-'--all'} 11 12 moinconvert --input-dir docs/wiki \ 13 --output-dir docs/html \ 14 --input-page-sep '--' \ 15 --root Introduction \ 16 --theme mercurial --format html \ 17 --macros \ 18 $DOCINDEX \ 19 $FILENAMES