debian-mirror-gitlab/doc/.vale/gitlab/RelativeLinks.yml

14 lines
450 B
YAML
Raw Normal View History

2020-04-08 14:13:33 +05:30
---
2020-06-23 00:09:42 +05:30
# Error: gitlab.RelativeLinks
#
2020-04-08 14:13:33 +05:30
# Checks for the presence of absolute hyperlinks that should be relative.
#
2020-07-28 23:09:34 +05:30
# For a list of all options, see https://errata-ai.gitbook.io/vale/getting-started/styles
2020-04-08 14:13:33 +05:30
extends: existence
2020-06-23 00:09:42 +05:30
message: 'Link "%s" must be relative.'
2020-04-08 14:13:33 +05:30
link: https://docs.gitlab.com/ee/development/documentation/styleguide.html#links-to-internal-documentation
level: error
scope: raw
raw:
2020-11-24 15:15:51 +05:30
- '\[.+\]\(https?:\/\/docs\.gitlab\.com\/[ce]e.*\)'