Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEvan Read <eread@gitlab.com>2019-06-25 07:34:55 +0300
committerAchilleas Pipinellis <axil@gitlab.com>2019-06-25 07:34:55 +0300
commite128239340010401b4e7fd391686dcc48c42fff0 (patch)
tree7db7d0205b46ad0a303cb2ed45ed2508efd2fc6b /.gitlab
parentcf291a110d0b8911a38764850d1a1d0f54b060c3 (diff)
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