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:
authorSuzanne Selhorn <sselhorn@gitlab.com>2021-06-24 19:02:20 +0300
committerSuzanne Selhorn <sselhorn@gitlab.com>2021-06-24 19:02:20 +0300
commit7183f334e58815ebe1f4ed5abfec4bf62bf5f5cd (patch)
tree2f3b8856832699b2e5fa88bec7f5a83d24276e08
parented9d79a800944ec2ef597ce993c682e2dcccf0d0 (diff)
parent51a780b487781adda2bca7902537a168ae9c9dc9 (diff)
Merge branch 'msj-introduced-renamed' into 'main'
Expand version formatter to support "renamed" See merge request gitlab-org/gitlab-docs!1918
-rw-r--r--lib/filters/introduced_in.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/filters/introduced_in.rb b/lib/filters/introduced_in.rb
index aed35eae..a66339cd 100644
--- a/lib/filters/introduced_in.rb
+++ b/lib/filters/introduced_in.rb
@@ -15,7 +15,7 @@ class IntroducedInFilter < Nanoc::Filter
# - "deprecated <optional text> in"
# - "moved <optional text> to"
# ...followed by "GitLab"
- next if content !~ /(<a href="[^"]+">)?(introduced|(re)?moved|deprecated)(<\/a>)?(.*)? (in|to).*GitLab/mi
+ next if content !~ /(<a href="[^"]+">)?(introduced|(re)?moved|deprecated|renamed)(<\/a>)?(.*)? (in|to).*GitLab/mi
new_content = generate(content)
blockquote.replace(new_content)