From 0523c3528d42666335e5df98428327ab6c4e1686 Mon Sep 17 00:00:00 2001 From: Marcel Amirault Date: Tue, 6 Aug 2019 14:43:22 +0900 Subject: Remove EE from readme check in docs-lint --- scripts/lint-doc.sh | 11 ----------- 1 file changed, 11 deletions(-) diff --git a/scripts/lint-doc.sh b/scripts/lint-doc.sh index 95e46e0e74b..3b1a12954ea 100755 --- a/scripts/lint-doc.sh +++ b/scripts/lint-doc.sh @@ -36,7 +36,6 @@ fi # Do not use 'README.md', instead use 'index.md' # Number of 'README.md's as of 2018-03-26 NUMBER_READMES_CE=34 -NUMBER_READMES_EE=34 FIND_READMES=$(find doc/ -name "README.md" | wc -l) echo '=> Checking for new README.md files...' if [ "${CI_PROJECT_NAME}" == 'gitlab-ce' ] @@ -49,16 +48,6 @@ then echo exit 1 fi -elif [ "${CI_PROJECT_NAME}" == 'gitlab-ee' ] -then - if [ ${FIND_READMES} -ne $NUMBER_READMES_EE ] - then - echo - echo ' ✖ ERROR: New README.md file(s) detected, prefer index.md over README.md.' >&2 - echo ' https://docs.gitlab.com/ee/development/documentation/styleguide.html#working-with-directories-and-files' - echo - exit 1 - fi fi echo "✔ Linting passed" -- cgit v1.2.1