Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-docs.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAmy Qualls <aqualls@gitlab.com>2021-09-15 19:36:47 +0300
committerAmy Qualls <aqualls@gitlab.com>2021-09-15 19:36:47 +0300
commit59b49e084872df01d0864c828c390c6658e23ceb (patch)
tree05cdd360f898e940877c279d6f45956586d5781a /Rakefile
parent60d5dc530ae10adddb6c2f3f1bf62035250d93ae (diff)
Update clean_redirects exclusion to new page
The page explaining redirects in the gitlab repo moved to a new location. We had to manually exclude this file because it's a false positive for this test. When it moved, it broke this Rake task.
Diffstat (limited to 'Rakefile')
-rw-r--r--Rakefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/Rakefile b/Rakefile
index 259fe058..ddb3f16c 100644
--- a/Rakefile
+++ b/Rakefile
@@ -300,10 +300,10 @@ namespace :docs do
#
# Find the files to be deleted.
- # Exclude 'doc/development/documentation/index.md' because it
+ # Exclude 'doc/development/documentation/redirects.md' because it
# contains an example of the YAML front matter.
#
- files_to_be_deleted = `grep -Ir 'remove_date:' #{content_dir} | grep -v doc/development/documentation/index.md | cut -d ":" -f1`.split("\n")
+ files_to_be_deleted = `grep -Ir 'remove_date:' #{content_dir} | grep -v doc/development/documentation/redirects.md | cut -d ":" -f1`.split("\n")
#
# Iterate over the files to be deleted and print the needed