2020-03-12 06:09:35 +00:00
|
|
|
---
|
2020-05-21 06:08:25 +00:00
|
|
|
# Error: gitlab.InternalLinkExtension
|
|
|
|
#
|
2020-03-12 06:09:35 +00:00
|
|
|
# Checks that internal links have .md extenstion and not .html extension.
|
|
|
|
#
|
2022-10-25 09:10:14 +00:00
|
|
|
# For a list of all options, see https://vale.sh/docs/topics/styles/
|
2020-03-12 06:09:35 +00:00
|
|
|
extends: existence
|
2022-09-01 15:12:07 +00:00
|
|
|
message: 'Link "%s" must link directly to a file and use the .md file extension.'
|
2022-10-26 09:11:26 +00:00
|
|
|
link: https://docs.gitlab.com/ee/development/documentation/styleguide/index.html#links-within-the-same-repository
|
2020-03-12 06:09:35 +00:00
|
|
|
level: error
|
|
|
|
scope: raw
|
|
|
|
raw:
|
2022-09-01 15:12:07 +00:00
|
|
|
- '\[[^\]]+\]\([^:\)]+(\/(#[^\)]+)?\)|\.html(#.+)?\))'
|