diff options
author | Achilleas Pipinellis <axil@gitlab.com> | 2019-08-27 09:15:15 +0000 |
---|---|---|
committer | Evan Read <eread@gitlab.com> | 2019-08-27 09:15:15 +0000 |
commit | 31c7bf16aa9adef361818d7cdfd4c7141556b433 (patch) | |
tree | 727f68174a820fca1fb4bab1968d9bf7aa105a10 /.gitlab | |
parent | a390f5ff052cfb9d214acbf1f4e78a830ba0e67b (diff) | |
download | gitlab-ce-31c7bf16aa9adef361818d7cdfd4c7141556b433.tar.gz |
Run markdownlint before Nanoc checks
Make it simpler to run markdownlint by moving it before
we do those hacks to run Nanoc.
Diffstat (limited to '.gitlab')
-rw-r--r-- | .gitlab/ci/docs.gitlab-ci.yml | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/.gitlab/ci/docs.gitlab-ci.yml b/.gitlab/ci/docs.gitlab-ci.yml index 1fad731543c..e77c773824f 100644 --- a/.gitlab/ci/docs.gitlab-ci.yml +++ b/.gitlab/ci/docs.gitlab-ci.yml @@ -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 |