summaryrefslogtreecommitdiff
path: root/.gitlab-ci.yml
diff options
context:
space:
mode:
authorEvan Read <eread@gitlab.com>2019-04-10 06:31:03 +0000
committerAchilleas Pipinellis <axil@gitlab.com>2019-04-10 06:31:03 +0000
commit786ba08013e055e9a8e91a43a6f33075a238ce3f (patch)
tree3cbd093ad4a7e54e8635293a29511a107ed5963c /.gitlab-ci.yml
parentd79932597a2ccf4827fc66ee465dfcd006a45274 (diff)
downloadgitlab-ce-786ba08013e055e9a8e91a43a6f33075a238ce3f.tar.gz
Run anchor check on every build
Diffstat (limited to '.gitlab-ci.yml')
-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