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
diff options
context:
space:
mode:
authorSarah German <sgerman@gitlab.com>2022-08-18 18:02:30 +0300
committerMarcel Amirault <mamirault@gitlab.com>2022-08-18 18:02:30 +0300
commitab74a97edcc8a2c366cc68ffa2c5434fb32df423 (patch)
tree8684d88d9b5d1a4b335d7bb2638242313463f60e /Makefile
parent5a2916f6bcdf04f06376213c2e6435f5b44aaae1 (diff)
Add Lunr.js index script
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile4
1 files changed, 4 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index 8db60443..2d998f07 100644
--- a/Makefile
+++ b/Makefile
@@ -158,3 +158,7 @@ markdownlint-tests:
@yarn markdownlint doc/**/*.md
test: setup rspec-tests jest-tests eslint-tests prettier-tests stylelint-tests hadolint-tests yamllint-tests markdownlint-tests
+
+build-lunr-index:
+ @printf "\n$(INFO)INFO: Building offline search index..$(INFO_END)\n"
+ node scripts/lunr/preindex.js \ No newline at end of file