Complain about badly aligned documentation on Travis CI, and fix some existing problems
This commit is contained in:
parent
688212130d
commit
fca77266bd
12
run-tests
12
run-tests
@ -243,6 +243,18 @@ if ((run_custom_checks)); then
|
|||||||
echo
|
echo
|
||||||
|
|
||||||
./check-supported-tools-tables || EXIT=$?
|
./check-supported-tools-tables || EXIT=$?
|
||||||
|
|
||||||
|
echo '========================================'
|
||||||
|
echo 'Look for badly aligned doc tags'
|
||||||
|
echo '========================================'
|
||||||
|
echo 'Badly aligned tags follow:'
|
||||||
|
echo
|
||||||
|
|
||||||
|
# Documentation tags need to be aligned to the right margin, so look for
|
||||||
|
# tags which aren't at the right margin.
|
||||||
|
grep ' \*[^*]\+\*$' doc/ -r \
|
||||||
|
| awk '{ sep = index($0, ":"); if (length(substr($0, sep + 1 )) < 79) { print } }' \
|
||||||
|
| grep . && EXIT=1
|
||||||
fi
|
fi
|
||||||
|
|
||||||
exit $EXIT
|
exit $EXIT
|
||||||
|
Loading…
Reference in New Issue
Block a user