X-Git-Url: https://gerrit.opnfv.org/gerrit/gitweb?a=blobdiff_plain;f=utils%2Fdocs-build.sh;h=39647a33d2868ed0a50d2f95ca93afc2198092dd;hb=a7037b84860be041e251248866fa10aac6020498;hp=b397094c60231c4644465137f243ced33c23a0a1;hpb=44c43d0c96a233286ba2259ea2aac425b3ab861a;p=releng.git diff --git a/utils/docs-build.sh b/utils/docs-build.sh index b397094c6..39647a33d 100755 --- a/utils/docs-build.sh +++ b/utils/docs-build.sh @@ -49,8 +49,8 @@ function check_rst_doc() { # Note: This check may fail in many jobs for building project docs, since # the old sample has lines more than 120. We ignore failures on this # check right now, but these have to be fixed before OPNFV B release. - _out=$(doc8 --max-line-length 120 --ignore D000 "$_src") || { - _msg='Error: rst validatino (doc8) has failed, please fix the following error(s).' + _out=$(doc8 --max-line-length 240 --ignore D000 "$_src") || { + _msg='Warning: rst validation (doc8) has failed, please fix the following error(s).' _errs=$(echo "$_out" | sed -n -e "/^$_src/s/^/ /p") echo echo -e "$_msg\n$_errs"