diff options
author | Amy Qualls <aqualls@gitlab.com> | 2021-09-15 19:36:47 +0300 |
---|---|---|
committer | Amy Qualls <aqualls@gitlab.com> | 2021-09-15 19:36:47 +0300 |
commit | 59b49e084872df01d0864c828c390c6658e23ceb (patch) | |
tree | 05cdd360f898e940877c279d6f45956586d5781a /Rakefile | |
parent | 60d5dc530ae10adddb6c2f3f1bf62035250d93ae (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-- | Rakefile | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -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 |