summaryrefslogtreecommitdiff
path: root/doc/.vale/gitlab/RelativeLinks.yml
blob: 1ae73472f8a616b9150c90a4ddcae7aea6784592 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
---
# Error: gitlab.RelativeLinks
#
# Checks for the presence of absolute hyperlinks that should be relative.
#
# For a list of all options, see https://errata-ai.gitbook.io/vale/getting-started/styles
extends: existence
message: 'Link "%s" must be a relative link with a .md extension.'
link: https://docs.gitlab.com/ee/development/documentation/styleguide.html#links-to-internal-documentation
level: error
scope: raw
raw:
  - '\[.+\]\(https?:\/\/docs\.gitlab\.com\/[ce]e.*\)'