summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMatthewLi <matthew.lijun@huawei.com>2016-01-25 06:10:14 -0500
committerMatthewLi <matthew.lijun@huawei.com>2016-01-25 06:10:14 -0500
commitf9d23f09505e60d7ffb38bb65df7a676af218917 (patch)
tree9c1fa5fbba83e15a9a05320d49508567f40d13cb
parentf717709a99c21f9b20ee32f121f9e6a6ed7f5e17 (diff)
change the document line length longer
JIRA: RELENG-15 Change-Id: Ic31eda0183c0f4f5c954b9e42be7d4edad8e337d Signed-off-by: MatthewLi <matthew.lijun@huawei.com>
-rwxr-xr-xutils/docs-build.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/utils/docs-build.sh b/utils/docs-build.sh
index b397094c6..5110f9eee 100755
--- a/utils/docs-build.sh
+++ b/utils/docs-build.sh
@@ -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