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

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

14 lines
476 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.
#
2023-01-13 00:05:48 +05:30
# For a list of all options, see https://vale.sh/docs/topics/styles/
2020-04-08 14:13:33 +05:30
extends: existence
2023-01-13 00:05:48 +05:30
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
2020-04-08 14:13:33 +05:30
level: error
scope: raw
raw:
2023-01-13 00:05:48 +05:30
- '\[[^\]]+\]\(https?:\/\/docs\.gitlab\.com\/[ce]e.*?\)'