diff options
author | GitLab Bot <gitlab-bot@gitlab.com> | 2022-02-25 03:17:32 +0300 |
---|---|---|
committer | GitLab Bot <gitlab-bot@gitlab.com> | 2022-02-25 03:17:32 +0300 |
commit | ca6f7d9e723976ab6046a09d1a22211ca2c8a930 (patch) | |
tree | 81de14240bb020f7416defc6bf314880fd141bf7 /lib | |
parent | 0afa6fb9d922cb7e201e81b2b668258d3dcf9d46 (diff) |
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'lib')
-rw-r--r-- | lib/tasks/gitlab/docs/redirect.rake | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/lib/tasks/gitlab/docs/redirect.rake b/lib/tasks/gitlab/docs/redirect.rake index e7ece9e0fdd..2d234fcdb36 100644 --- a/lib/tasks/gitlab/docs/redirect.rake +++ b/lib/tasks/gitlab/docs/redirect.rake @@ -54,7 +54,9 @@ namespace :gitlab do post.puts "This document was moved to [another location](#{new_path})." post.puts post.puts "<!-- This redirect file can be deleted after <#{date}>. -->" - post.puts "<!-- Before deletion, see: https://docs.gitlab.com/ee/development/documentation/#move-or-rename-a-page -->" + post.puts "<!-- Redirects that point to other docs in the same project expire in three months. -->" + post.puts "<!-- Redirects that point to docs in a different project or site (link is not relative and starts with `https:`) expire in one year. -->" + post.puts "<!-- Before deletion, see: https://docs.gitlab.com/ee/development/documentation/redirects.html -->" end end end |