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/Rules
diff options
context:
space:
mode:
authorSarah German <sgerman@gitlab.com>2022-09-22 18:10:42 +0300
committerKati Paizee <kpaizee@gitlab.com>2022-09-22 18:10:42 +0300
commit6ef828e917f82a7bd8a621c8a652e3127666ac37 (patch)
tree62b2f8c2f54d46bda3a58e8c45b1cad2e9777514 /Rules
parenta5ac9d88bd1251c252d53680e8af0df0eef1d743 (diff)
Add Lunr search UI components
Diffstat (limited to 'Rules')
-rw-r--r--Rules3
1 files changed, 3 insertions, 0 deletions
diff --git a/Rules b/Rules
index 17d58c3e..4d137bf9 100644
--- a/Rules
+++ b/Rules
@@ -39,6 +39,9 @@ preprocess do
item[:title_badge] = badges_filter.run_from_markdown(raw_title.match(BadgesFilter::BADGES_MARKDOWN_PATTERN).to_s)
end
end
+
+ config[:algolia] = ENV['ALGOLIA_SEARCH'] || 'true'
+
end
compile '/404.*' do