diff options
author | GitLab Bot <gitlab-bot@gitlab.com> | 2021-03-16 21:18:33 +0300 |
---|---|---|
committer | GitLab Bot <gitlab-bot@gitlab.com> | 2021-03-16 21:18:33 +0300 |
commit | f64a639bcfa1fc2bc89ca7db268f594306edfd7c (patch) | |
tree | a2c3c2ebcc3b45e596949db485d6ed18ffaacfa1 /scripts/lint-doc.sh | |
parent | bfbc3e0d6583ea1a91f627528bedc3d65ba4b10f (diff) |
Add latest changes from gitlab-org/gitlab@13-10-stable-eev13.10.0-rc40
Diffstat (limited to 'scripts/lint-doc.sh')
-rwxr-xr-x | scripts/lint-doc.sh | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/scripts/lint-doc.sh b/scripts/lint-doc.sh index 17c8cdaabec..4d0c1ba99d2 100755 --- a/scripts/lint-doc.sh +++ b/scripts/lint-doc.sh @@ -30,13 +30,13 @@ then ((ERRORCODE++)) fi -# Test for non-standard spaces (NBSP, NNBSP) in documentation. +# Test for non-standard spaces (NBSP, NNBSP, ZWSP) in documentation. echo '=> Checking for non-standard spaces...' echo -grep --extended-regexp --binary-file=without-match --recursive '[ ]' doc/ >/dev/null 2>&1 +grep --extended-regexp --binary-file=without-match --recursive '[ ]' doc/ >/dev/null 2>&1 if [ $? -eq 0 ] then - echo '✖ ERROR: Non-standard spaces (NBSP, NNBSP) should not be used in documentation. + echo '✖ ERROR: Non-standard spaces (NBSP, NNBSP, ZWSP) should not be used in documentation. https://docs.gitlab.com/ee/development/documentation/styleguide/index.html#spaces-between-words Replace with standard spaces:' >&2 # Find the spaces, then add color codes with sed to highlight each NBSP or NNBSP in the output. @@ -78,7 +78,7 @@ then echo echo ' ✖ ERROR: The number of README.md file(s) has changed. Use index.md instead of README.md.' >&2 echo ' ✖ If removing a README.md file, update NUMBER_READMES in lint-doc.sh.' >&2 - echo ' https://docs.gitlab.com/ee/development/documentation/styleguide.html#work-with-directories-and-files' + echo ' https://docs.gitlab.com/ee/development/documentation/styleguide/index.html#work-with-directories-and-files' echo ((ERRORCODE++)) fi |