Welcome to mirror list, hosted at ThFree Co, Russian Federation.

InternalLinkExtension.yml « gitlab « .vale « doc - gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 364263f90c8c0daf76dc6075e761482df0805b23 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
---
# Error: gitlab.InternalLinkExtension
#
# Checks that internal links have .md extenstion and not .html extension.
#
# For a list of all options, see https://vale.sh/docs/topics/styles/
extends: existence
message: "Link to a file and use the .md file extension instead of .html."
link: https://docs.gitlab.com/ee/development/documentation/styleguide/index.html#links
level: error
scope: raw
raw:
  - '\[[^\]]+\]\([^:\)]+(\/(#[^\)]+)?\)|\.html(#.+)?\))'