summaryrefslogtreecommitdiff
path: root/.gitlab
diff options
context:
space:
mode:
authorEvan Read <eread@gitlab.com>2019-06-25 04:34:55 +0000
committerAchilleas Pipinellis <axil@gitlab.com>2019-06-25 04:34:55 +0000
commite128239340010401b4e7fd391686dcc48c42fff0 (patch)
tree7db7d0205b46ad0a303cb2ed45ed2508efd2fc6b /.gitlab
parentcf291a110d0b8911a38764850d1a1d0f54b060c3 (diff)
downloadgitlab-ce-e128239340010401b4e7fd391686dcc48c42fff0.tar.gz
Add Markdown linting
Also adds and one linting rule and makes project conform to it.
Diffstat (limited to '.gitlab')
-rw-r--r--.gitlab/ci/docs.gitlab-ci.yml4
1 files changed, 4 insertions, 0 deletions
diff --git a/.gitlab/ci/docs.gitlab-ci.yml b/.gitlab/ci/docs.gitlab-ci.yml
index 5aa1a856405..beab406fab7 100644
--- a/.gitlab/ci/docs.gitlab-ci.yml
+++ b/.gitlab/ci/docs.gitlab-ci.yml
@@ -66,6 +66,10 @@ docs lint:
- scripts/lint-changelog-yaml
- mv doc/ /tmp/gitlab-docs/content/$DOCS_GITLAB_REPO_SUFFIX
- cd /tmp/gitlab-docs
+ # Lint Markdown
+ # https://github.com/markdownlint/markdownlint/blob/master/docs/RULES.md
+ - bundle exec mdl content/$DOCS_GITLAB_REPO_SUFFIX/**/*.md --rules \
+ MD032
# Build HTML from Markdown
- bundle exec nanoc
# Check the internal links