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