summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLukas Eipert <leipert@gitlab.com>2018-06-20 15:53:17 +0200
committerLukas Eipert <leipert@gitlab.com>2018-06-20 15:53:17 +0200
commit8c899dbce2d7513b05b2a869466ed447129e1fcf (patch)
tree05e033b1f091fa895a0979c64dd81547052fe57e
parentc6c7f972f27a19d9d2ffcc1c2a3304fee4565369 (diff)
downloadgitlab-ce-leipert-markdown-linter-example.tar.gz
add markdown linter exampleleipert-markdown-linter-example
-rw-r--r--.gitlab-ci.yml16
1 files changed, 16 insertions, 0 deletions
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 30c21b452e0..91a935ffb29 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -582,6 +582,21 @@ docs lint:
# Check the internal links
- bundle exec nanoc check internal_links
+# Documentation checks:
+# - Check validity of relative links
+# - Make sure cURL examples in API docs use the full switches
+markdown lint:
+ <<: *dedicated-runner
+ <<: *except-qa
+ image: "registry.gitlab.com/leipert-projects/remark-docker"
+ stage: test
+ cache: {}
+ dependencies: []
+ before_script: []
+ script:
+ - mv doc/ /app/doc
+ - remark
+
downtime_check:
<<: *rake-exec
except:
@@ -881,3 +896,4 @@ no_ee_check:
- scripts/no-ee-check
only:
- //@gitlab-org/gitlab-ce
+