Commit 0839fb0c authored by Evan Read's avatar Evan Read

Merge branch 'docs/markdownlint-before-nanoc' into 'master'

Run markdownlint before Nanoc checks

See merge request gitlab-org/gitlab-ce!32256
parents a390f5ff 31c7bf16
......@@ -73,10 +73,11 @@ docs lint:
dependencies: []
script:
- scripts/lint-doc.sh
# Lint Markdown
- markdownlint --config .markdownlint.json doc/**/*.md
# Prepare docs for build
- mv doc/ /tmp/gitlab-docs/content/$DOCS_GITLAB_REPO_SUFFIX
- cd /tmp/gitlab-docs
# Lint Markdown
- markdownlint --config $CI_PROJECT_DIR/.markdownlint.json content/$DOCS_GITLAB_REPO_SUFFIX/**/*.md
# Build HTML from Markdown
- bundle exec nanoc
# Check the internal links
......
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