summaryrefslogtreecommitdiff
path: root/doc/.vale/gitlab/HeadingDepth.yml
blob: 000baf633d78d2d85204fced03576ac87af4d011 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
---
# Suggestion: gitlab.HeadingDepth
#
# Checks that there are no headings greater than 3 levels
#
# For a list of all options, see https://vale.sh/docs/topics/styles/
extends: existence
message: "Refactor the section or page to avoid headings greater than H5."
link: https://docs.gitlab.com/ee/development/documentation/styleguide/index.html#heading-levels-in-markdown
level: suggestion
scope: raw
raw:
  - '(?<=\n)#{6,}\s.*'