Allow skipping the md docs check
Not every project that uses dib elements will necessarily want this check enabled. Change-Id: Id4b167ed220dd55852b6587b884fabe7bc8554eb
This commit is contained in:
parent
bdf3aab53a
commit
c3ee0acdd8
@ -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')
|
||||||
|
if [ -n "$md_docs" ]; then
|
||||||
error ".md docs found: $md_docs"
|
error ".md docs found: $md_docs"
|
||||||
|
fi
|
||||||
fi
|
fi
|
||||||
|
|
||||||
for i in $(find elements -name '*.yaml' \
|
for i in $(find elements -name '*.yaml' \
|
||||||
|
Loading…
x
Reference in New Issue
Block a user