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:
authorAchilleas Pipinellis <axil@gitlab.com>2022-11-11 02:13:03 +0300
committerSarah German <sgerman@gitlab.com>2022-11-11 02:13:03 +0300
commit2e63b3ade88c60f835470a946f2a1fadd3fa807c (patch)
treebc5ef8207c263fa6d6d136fc8245324a5ea97c6b /Makefile
parente981394cf01e3b4febe16e8e179662b5aefd1700 (diff)
Build a Docker image with lunr.js enabled
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile6
1 files changed, 5 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index bd4cdcc4..b66e8a3d 100644
--- a/Makefile
+++ b/Makefile
@@ -105,9 +105,13 @@ clean:
@rm -rf tmp public
build-lunr-index:
- @printf "\n$(INFO)INFO: Building offline search index..$(INFO_END)\n"
+ @printf "\n$(INFO)INFO: Building offline search index..$(END)\n"
node scripts/lunr/preindex.js
+check-lunr-index:
+ @printf "\n$(INFO)INFO: Checking if lunr.js is enabled...$(END)\n"
+ @scripts/check-lunr-index.sh
+
internal-links-check: clone-all-docs-projects compile
@printf "\n$(INFO)INFO: Checking all internal links...$(END)\n"
@bundle exec nanoc check internal_links