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
path: root/lib
diff options
context:
space:
mode:
authorMarcin Sedlak-Jakubowski <msedlakjakubowski@gitlab.com>2021-06-24 13:03:48 +0300
committerMarcin Sedlak-Jakubowski <msedlakjakubowski@gitlab.com>2021-06-24 13:03:48 +0300
commit51a780b487781adda2bca7902537a168ae9c9dc9 (patch)
treeb0b068d672552bf004152e0cd71de6450d80e53e /lib
parent5f878f6c7617a16935a9e4371be4b94ea545d856 (diff)
Expand version formatter to support "renamed"
Diffstat (limited to 'lib')
-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)