diff options
Diffstat (limited to 'doc/.vale/gitlab/InternalLinkFormat.yml')
-rw-r--r-- | doc/.vale/gitlab/InternalLinkFormat.yml | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/doc/.vale/gitlab/InternalLinkFormat.yml b/doc/.vale/gitlab/InternalLinkFormat.yml index b9ee83b7f5c..be09a020846 100644 --- a/doc/.vale/gitlab/InternalLinkFormat.yml +++ b/doc/.vale/gitlab/InternalLinkFormat.yml @@ -1,13 +1,13 @@ --- # Error: gitlab.InternalLinkFormat # -# Checks that internal link paths don't start with "./", which is not needed. +# Checks that internal link paths don't start with './', which is not needed. # -# For a list of all options, see https://errata-ai.gitbook.io/vale/getting-started/styles +# For a list of all options, see https://vale.sh/docs/topics/styles/ extends: existence -message: 'Link "%s" must not start with "./".' -link: https://docs.gitlab.com/ee/development/documentation/styleguide/index.html#links-to-internal-documentation +message: "Edit the link so it does not start with './'." +link: https://docs.gitlab.com/ee/development/documentation/styleguide/index.html#links level: error scope: raw raw: - - '\[.+\]\(\.\/.*?\)' + - '\[[^\]]+\]\(\.\/.*?\)' |