debian-mirror-gitlab/doc/.vale/gitlab/HeadingDepth.yml
2023-05-27 22:25:52 +05:30

13 lines
428 B
YAML

---
# 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)#{5,}\s.*'