summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAchilleas Pipinellis <axil@gitlab.com>2019-04-10 06:31:04 +0000
committerAchilleas Pipinellis <axil@gitlab.com>2019-04-10 06:31:04 +0000
commitb5af30bba6a7ffdd4b054fa9c8c9b42dd91a51d7 (patch)
tree3cbd093ad4a7e54e8635293a29511a107ed5963c
parentd79932597a2ccf4827fc66ee465dfcd006a45274 (diff)
parent786ba08013e055e9a8e91a43a6f33075a238ce3f (diff)
downloadgitlab-ce-b5af30bba6a7ffdd4b054fa9c8c9b42dd91a51d7.tar.gz
Merge branch 'docs/add-internal-anchor-check' into 'master'
Run anchor check on every build See merge request gitlab-org/gitlab-ce!26745
-rw-r--r--.gitlab-ci.yml4
1 files changed, 3 insertions, 1 deletions
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 7d01afc9a16..680b9d0d489 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -593,7 +593,7 @@ static-analysis:
- tmp/rubocop_cache
# Documentation checks:
-# - Check validity of relative links
+# - Check validity of relative links, and anchors
# - Make sure cURL examples in API docs use the full switches
docs lint:
<<: *dedicated-runner
@@ -612,6 +612,8 @@ docs lint:
- bundle exec nanoc
# Check the internal links
- bundle exec nanoc check internal_links
+ # Check the internal anchor links
+ - bundle exec nanoc check internal_anchors
downtime_check:
<<: *rake-exec