Mercurial > hg
view tests/check-gendoc @ 46381:45afff0f530a
pyproject: add config file
This will tell pip et al to call our setup.py for the majority of
packaging concerns, but also gives us a place to put standard config
stuff like black.
Differential Revision: https://phab.mercurial-scm.org/D9833
author | Augie Fackler <augie@google.com> |
---|---|
date | Tue, 01 Dec 2020 12:52:04 -0500 |
parents | 69c99898a48f |
children |
line wrap: on
line source
#!/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