We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent c619884 commit 8df6bfeCopy full SHA for 8df6bfe
private/check-rst
@@ -31,6 +31,12 @@ rst2xml=$(command -v rst2xml) \
31
rst2xml=${rst2xml##*/}
32
options='--input-encoding=UTF-8 --strict'
33
if [ $# -eq 0 ]
34
+then
35
+ print_desc='python setup.py --long-description'
36
+ echo "(cd ${root:-.} && $print_desc) | $rst2xml $options - /dev/null" >&2
37
+ (cd "${root:-.}" && $print_desc) | "$rst2xml" $options - /dev/null || exit 1
38
+fi
39
+if [ $# -eq 0 ]
40
then
41
grep -rwl ft=rst "${root}doc/"
42
else
0 commit comments