8 # Parse arguments aimed at this wrapper, and drop them from $@ so we
9 # can pass it on to ikiwiki.
12 if [ "${arg}" = --non-fatal-sanity-check ]; then
16 set -- "${@}" "${arg}"
19 git_dir
="$(git rev-parse --show-toplevel)"
20 if ! "${git_dir}/bin/sanity-check-website" ; then
21 if [ "${FATAL_SANITY_CHECK}" != no
]; then
22 echo "Some pages in our wiki are bad! Please fix them or re-run" \
23 "with the --non-fatal-sanity-check option" >&2
28 ikiwiki
-setup ikiwiki.setup
-refresh "$@"