2022-10-21 14:38:48 +00:00
|
|
|
---
|
|
|
|
# Error: gitlab.RelativeLinks
|
|
|
|
#
|
|
|
|
# Checks for the presence of absolute hyperlinks that should be relative.
|
|
|
|
#
|
2023-11-20 04:44:42 +00:00
|
|
|
# For a list of all options, see https://vale.sh/docs/topics/styles/
|
2022-10-21 14:38:48 +00:00
|
|
|
extends: existence
|
2023-11-20 04:44:42 +00:00
|
|
|
message: "Use a relative link instead of a URL, and ensure the file name ends in .md and not .html."
|
|
|
|
link: https://docs.gitlab.com/ee/development/documentation/styleguide/index.html#links
|
|
|
|
level: error
|
2022-10-21 14:38:48 +00:00
|
|
|
scope: raw
|
|
|
|
raw:
|
2023-11-20 04:44:42 +00:00
|
|
|
- '\[[^\]]+\]\(https://gitlab.com/gitlab-org/cli/-/tree/main/docs.*\)'
|