tests/check-gendoc
author Augie Fackler <raf@durin42.com>
Wed, 04 Mar 2020 11:51:12 -0500
branchstable
changeset 44414 25d61883a861
parent 41005 69c99898a48f
permissions -rwxr-xr-x
Added tag 5.3.1 for changeset 6d121acbb82e

#!/bin/sh
HGENCODING=UTF-8
export HGENCODING

echo ".. -*- coding: utf-8 -*-" > gendoc.txt
echo "" >> gendoc.txt
LANGUAGE=$1 "$PYTHON" "$TESTDIR/../doc/gendoc.py" >> gendoc.txt 2> /dev/null || exit

echo "checking for parse errors"
"$PYTHON" "$TESTDIR/../doc/docchecker" gendoc.txt
"$PYTHON" "$TESTDIR/../doc/runrst" html gendoc.txt /dev/null