diff options
Diffstat (limited to 'doc/.vale/gitlab/RelativeLinksDoubleSlashes.yml')
-rw-r--r-- | doc/.vale/gitlab/RelativeLinksDoubleSlashes.yml | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/doc/.vale/gitlab/RelativeLinksDoubleSlashes.yml b/doc/.vale/gitlab/RelativeLinksDoubleSlashes.yml new file mode 100644 index 00000000000..ce6ce8b5691 --- /dev/null +++ b/doc/.vale/gitlab/RelativeLinksDoubleSlashes.yml @@ -0,0 +1,13 @@ +--- +# Error: gitlab.RelativeLinksDoubleSlashes +# +# Checks for the presence of double slashes in relative URLs. +# +# For a list of all options, see https://errata-ai.gitbook.io/vale/getting-started/styles +extends: existence +message: 'Relative links must not include a double slash.' +link: https://docs.gitlab.com/ee/development/documentation/styleguide/index.html#links-to-internal-documentation +level: error +scope: raw +raw: + - '\.//' |