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>2022-01-05 02:29:08 +0300
committerSuzanne Selhorn <sselhorn@gitlab.com>2022-01-05 02:29:08 +0300
commitc817bc63a148416098b6bc3aea955d96ec03625a (patch)
tree517ef1e9329aa198ab588a29ff607f13e5173dea /lib
parent40e5a5d5b6dfabf019bd4af5f9ba13eb4c268532 (diff)
Added enabled to list of version history 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 2e894e39..5108d122 100644
--- a/lib/filters/introduced_in.rb
+++ b/lib/filters/introduced_in.rb
@@ -17,8 +17,9 @@ class IntroducedInFilter < Nanoc::Filter
# - "removed <optional text> in"
# - "renamed <optional text> in"
# - "changed <optional text> in"
+ # - "enabled <optional text> in"
# ...followed by "GitLab"
- next if content !~ /(<a href="[^"]+">)?(introduced|(re)?moved|changed|deprecated|renamed|recommended)(<\/a>)?(.*)? (in|to).*GitLab/mi
+ next if content !~ /(<a href="[^"]+">)?(introduced|enabled|(re)?moved|changed|deprecated|renamed|recommended)(<\/a>)?(.*)? (in|to).*GitLab/mi
new_content = generate(content)
blockquote.replace(new_content)