debian-mirror-gitlab/doc/.vale/gitlab/HeadingDepth.yml

14 lines
422 B
YAML
Raw Normal View History

2022-08-27 11:52:29 +05:30
---
2023-03-17 16:20:25 +05:30
# Suggestion: gitlab.HeadingDepth
2022-08-27 11:52:29 +05:30
#
# 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
2023-01-13 00:05:48 +05:30
message: "Refactor the section or page to avoid headings greater than H5."
2022-08-27 11:52:29 +05:30
link: https://docs.gitlab.com/ee/development/documentation/styleguide/index.html#headings-in-markdown
2023-03-17 16:20:25 +05:30
level: suggestion
2022-08-27 11:52:29 +05:30
scope: raw
raw:
- '(?<=\n)#{5,}\s.*'