Skip to content
Snippets Groups Projects
Commit 0839fb0c authored by Evan Read's avatar Evan Read
Browse files

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

Run markdownlint before Nanoc checks

See merge request gitlab-org/gitlab-ce!32256
parents a390f5ff 31c7bf16
No related branches found
No related tags found
No related merge requests found
Loading
Loading
@@ -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
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment