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:
authorSuzanne Selhorn <sselhorn@gitlab.com>2021-06-30 05:17:54 +0300
committerSuzanne Selhorn <sselhorn@gitlab.com>2021-06-30 05:17:54 +0300
commit2912ec0977bb4c18e4df92647e0a47b882ff90bb (patch)
treebee43dd0d7eeffd5d378040a0dee56c906fe0d0e /lib
parentfe1fbd8feeb73659c0a0c4256654f5ac3176c72b (diff)
Added change to list of words
Diffstat (limited to 'lib')
-rw-r--r--lib/filters/introduced_in.rb3
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/filters/introduced_in.rb b/lib/filters/introduced_in.rb
index 00896010..2e894e39 100644
--- a/lib/filters/introduced_in.rb
+++ b/lib/filters/introduced_in.rb
@@ -16,8 +16,9 @@ class IntroducedInFilter < Nanoc::Filter
# - "recommended <optional text> in"
# - "removed <optional text> in"
# - "renamed <optional text> in"
+ # - "changed <optional text> in"
# ...followed by "GitLab"
- next if content !~ /(<a href="[^"]+">)?(introduced|(re)?moved|deprecated|renamed|recommended)(<\/a>)?(.*)? (in|to).*GitLab/mi
+ next if content !~ /(<a href="[^"]+">)?(introduced|(re)?moved|changed|deprecated|renamed|recommended)(<\/a>)?(.*)? (in|to).*GitLab/mi
new_content = generate(content)
blockquote.replace(new_content)