check-gendoc
11 lines
| 343 B
| text/plain
|
TextLexer
/ tests / check-gendoc
timeless
|
r28809 | #!/bin/sh | ||
HGENCODING=UTF-8 | ||||
export HGENCODING | ||||
echo ".. -*- coding: utf-8 -*-" > gendoc.txt | ||||
echo "" >> gendoc.txt | ||||
Matt Harbison
|
r41041 | LANGUAGE=$1 "$PYTHON" "$TESTDIR/../doc/gendoc.py" >> gendoc.txt 2> /dev/null || exit | ||
timeless
|
r28809 | |||
echo "checking for parse errors" | ||||
Matt Harbison
|
r41041 | "$PYTHON" "$TESTDIR/../doc/docchecker" gendoc.txt | ||
"$PYTHON" "$TESTDIR/../doc/runrst" html gendoc.txt /dev/null | ||||