tests/check-gendoc
author Pierre-Yves David <pierre-yves.david@ens-lyon.org>
Sun, 06 Nov 2016 20:10:53 +0100
changeset 31131 1613c55ad3d6
parent 28809 7a1ad08b9ff5
child 41015 69c99898a48f
permissions -rwxr-xr-x
color: pass 'ui' to 'win32print' Same logic as before,'win32print' relies on some data we will move on the 'ui' object soon, we update the API beforehand for clarity.

#!/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