tests/check-gendoc
author Pierre-Yves David <pierre-yves.david@octobus.net>
Thu, 01 Dec 2022 02:21:18 +0100
changeset 49712 905eb32fdf4e
parent 41005 69c99898a48f
permissions -rwxr-xr-x
path: pass `path` to `peer` in `hg histedit` We directly use the `path` object to build the `peer` object.

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