Merge "Allow skipping the md docs check"

This commit is contained in:
Jenkins 2016-04-20 20:56:19 +00:00 committed by Gerrit Code Review
commit 7e34c2d97d

View File

@ -163,9 +163,11 @@ for i in $(find elements -type f -and -name '*.rst' -or -type f -executable); do
fi fi
done done
md_docs=$(find elements -name '*.md') if ! excluded mddocs; then
if [ -n "$md_docs" ]; then md_docs=$(find elements -name '*.md')
error ".md docs found: $md_docs" if [ -n "$md_docs" ]; then
error ".md docs found: $md_docs"
fi
fi fi
for i in $(find elements -name '*.yaml' \ for i in $(find elements -name '*.yaml' \