Commit b5af30bb authored by Achilleas Pipinellis's avatar Achilleas Pipinellis

Merge branch 'docs/add-internal-anchor-check' into 'master'

Run anchor check on every build

See merge request gitlab-org/gitlab-ce!26745
parents d7993259 786ba080
...@@ -593,7 +593,7 @@ static-analysis: ...@@ -593,7 +593,7 @@ static-analysis:
- tmp/rubocop_cache - tmp/rubocop_cache
# Documentation checks: # 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 # - Make sure cURL examples in API docs use the full switches
docs lint: docs lint:
<<: *dedicated-runner <<: *dedicated-runner
...@@ -612,6 +612,8 @@ docs lint: ...@@ -612,6 +612,8 @@ docs lint:
- bundle exec nanoc - bundle exec nanoc
# Check the internal links # Check the internal links
- bundle exec nanoc check internal_links - bundle exec nanoc check internal_links
# Check the internal anchor links
- bundle exec nanoc check internal_anchors
downtime_check: downtime_check:
<<: *rake-exec <<: *rake-exec
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment