From 4f93fa4b7d8322aa1f0b39066d65a83c9b10977e Mon Sep 17 00:00:00 2001 From: Evan Read Date: Mon, 8 Jul 2019 11:07:07 +0000 Subject: Add lint rule that headings must increment one level at a time Also fixes instances in Markdown that broke the rule. --- .gitlab/ci/docs.gitlab-ci.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to '.gitlab/ci/docs.gitlab-ci.yml') 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 -- cgit v1.2.3