8000
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 5ed1c9c commit c19c4e3Copy full SHA for c19c4e3
build_tools/circle/build_doc.sh
@@ -189,6 +189,8 @@ then
189
if [ -z "$warnings" ]
190
then
191
warnings="/home/circleci/project/ no warnings"
192
+ else
193
+ check=1
194
fi
195
echo "$warnings"
196
@@ -204,8 +206,7 @@ then
204
206
echo '</ul></body></html>'
205
207
) > 'doc/_build/html/stable/_changed.html'
208
- check = `echo $warnings | grep "no warnings"`
- if [ -z "$check" ]
209
+ if [ $check ]
210
211
echo "There are Sphinx Warnings in the documentation!"
212
echo "Please check doc/_build/html/stable/_changed.html"
0 commit comments