change the document line length longer 77/7877/1
authorMatthewLi <matthew.lijun@huawei.com>
Mon, 25 Jan 2016 11:10:14 +0000 (06:10 -0500)
committerMatthewLi <matthew.lijun@huawei.com>
Mon, 25 Jan 2016 11:10:14 +0000 (06:10 -0500)
JIRA: RELENG-15

Change-Id: Ic31eda0183c0f4f5c954b9e42be7d4edad8e337d
Signed-off-by: MatthewLi <matthew.lijun@huawei.com>
utils/docs-build.sh

index b397094..5110f9e 100755 (executable)
@@ -49,7 +49,7 @@ 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") || {
+    _out=$(doc8 --max-line-length 240 --ignore D000 "$_src") || {
         _msg='Error: rst validatino (doc8) has failed, please fix the following error(s).'
         _errs=$(echo "$_out" | sed -n -e "/^$_src/s/^/    /p")
         echo