Welcome to mirror list, hosted at ThFree Co, Russian Federation.

HeadingDepth.yml « gitlab « .vale « doc - gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 466ab3172266c0e2408a9cd0521ec3b2f8bf5bb9 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
---
# Warning: 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: 'The subheading "%s" is nested too deeply. Headings deeper than H5 suggest the section or page should be refactored.'
link: https://docs.gitlab.com/ee/development/documentation/styleguide/index.html#headings-in-markdown
level: warning
scope: raw
raw:
  - '(?<=\n)#{5,}\s.*'