tests/check-gendoc
author Pierre-Yves David <pierre-yves.david@octobus.net>
Fri, 02 Dec 2022 05:10:05 +0100
changeset 49724 f3b685d9e899
parent 41005 69c99898a48f
permissions -rwxr-xr-x
path: pass `path` to `peer` in `hg summary` 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