Mercurial > hg
view tests/check-gendoc @ 31155:8266802f0fa4
config: pass some optional args as keywords
This makes it a little more obvious that self.read is being passed as
include, which took me a moment to figure out.
author | Augie Fackler <raf@durin42.com> |
---|---|
date | Fri, 03 Mar 2017 12:55:49 -0500 |
parents | 7a1ad08b9ff5 |
children | 69c99898a48f |
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