diff options
author | Evan Read <eread@gitlab.com> | 2019-07-08 11:07:07 +0000 |
---|---|---|
committer | Achilleas Pipinellis <axil@gitlab.com> | 2019-07-08 11:07:07 +0000 |
commit | 4f93fa4b7d8322aa1f0b39066d65a83c9b10977e (patch) | |
tree | 284a51f91a0862bda17ca8426f4b5c0552298ea3 /.gitlab | |
parent | 4f6ec719a2c49472591b28455f909e3d6800923c (diff) | |
download | gitlab-ce-4f93fa4b7d8322aa1f0b39066d65a83c9b10977e.tar.gz |
Add lint rule that headings must increment one level at a time
Also fixes instances in Markdown that broke the rule.
Diffstat (limited to '.gitlab')
-rw-r--r-- | .gitlab/ci/docs.gitlab-ci.yml | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/.gitlab/ci/docs.gitlab-ci.yml b/.gitlab/ci/docs.gitlab-ci.yml index 6acbce6cf0c..57ee91e4385 100644 --- a/.gitlab/ci/docs.gitlab-ci.yml +++ b/.gitlab/ci/docs.gitlab-ci.yml @@ -68,7 +68,7 @@ docs lint: # Lint Markdown # https://github.com/markdownlint/markdownlint/blob/master/docs/RULES.md - bundle exec mdl content/$DOCS_GITLAB_REPO_SUFFIX/**/*.md --ignore-front-matter --rules \ - MD004,MD032,MD034 + MD001,MD032,MD034 # Build HTML from Markdown - bundle exec nanoc # Check the internal links |