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.
|
|
|
|
#
|
2020-06-24 06:09:01 +00:00
|
|
|
# For a list of all options, see https://errata-ai.gitbook.io/vale/getting-started/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.'
|
2020-12-16 00:09:58 +00:00
|
|
|
link: https://docs.gitlab.com/ee/development/documentation/styleguide/index.html#links-to-internal-documentation
|
2020-03-12 06:09:35 +00:00
|
|
|
level: error
|
|
|
|
scope: raw
|
|
|
|
raw:
|
2022-09-01 15:12:07 +00:00
|
|
|
- '\[[^\]]+\]\([^:\)]+(\/(#[^\)]+)?\)|\.html(#.+)?\))'
|