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:
authorEvan Read <eread@gitlab.com>2022-08-02 02:02:02 +0300
committerEvan Read <eread@gitlab.com>2022-08-30 03:22:16 +0300
commit8451aa75732c7a4def64f39f7ab194d21e9aaddf (patch)
tree27220ed47a61101b7753268f84b3ada27453dcb6 /Makefile
parent18121b714288fec6b9cd7a28ffae3bce7a2e4222 (diff)
Add check for identical duplicate entries in global navigationeread/add-duplicate-nav-entry-check
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile12
1 files changed, 8 insertions, 4 deletions
diff --git a/Makefile b/Makefile
index 2d998f07..f8069f08 100644
--- a/Makefile
+++ b/Makefile
@@ -105,6 +105,10 @@ clean:
@printf "\n$(INFO)INFO: Removing tmp and public directories...$(END)\n"
@rm -rf tmp public
+build-lunr-index:
+ @printf "\n$(INFO)INFO: Building offline search index..$(INFO_END)\n"
+ node scripts/lunr/preindex.js
+
internal-links-check: clone-all-docs-projects compile
@printf "\n$(INFO)INFO: Checking all internal links...$(END)\n"
@bundle exec nanoc check internal_links
@@ -157,8 +161,8 @@ markdownlint-tests:
@printf "\n$(INFO)INFO: Running markdownlint tests...$(END)\n"
@yarn markdownlint doc/**/*.md
-test: setup rspec-tests jest-tests eslint-tests prettier-tests stylelint-tests hadolint-tests yamllint-tests markdownlint-tests
+check-global-navigation:
+ @printf "\n$(INFO)INFO: Checking global navigation...$(END)\n"
+ @scripts/check-navigation.sh
-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
+test: setup rspec-tests jest-tests eslint-tests prettier-tests stylelint-tests hadolint-tests yamllint-tests markdownlint-tests check-global-navigation