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:
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