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