diff options
author | GitLab Bot <gitlab-bot@gitlab.com> | 2022-08-08 18:10:32 +0300 |
---|---|---|
committer | GitLab Bot <gitlab-bot@gitlab.com> | 2022-08-08 18:10:32 +0300 |
commit | 3de2ce7c6b536d63ea2f93239022eb51fa9241c1 (patch) | |
tree | ac66971b2cb57f1b24f1f03879abf9b27398fa10 /doc/.vale | |
parent | 61cf5b32c5a6a3982a704d33e72ea9b391a3b04d (diff) |
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'doc/.vale')
-rw-r--r-- | doc/.vale/gitlab/HeadingDepth.yml | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/doc/.vale/gitlab/HeadingDepth.yml b/doc/.vale/gitlab/HeadingDepth.yml new file mode 100644 index 00000000000..d96d59b0e35 --- /dev/null +++ b/doc/.vale/gitlab/HeadingDepth.yml @@ -0,0 +1,13 @@ +--- +# Error: 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.*' |