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

InternalLinkExtension.yml « gitlab « styles « vale « .linting « doc - gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: de5dee2325acbe8df3b87e170723a50eb6fd0d65 (plain)
1
2
3
4
5
6
7
8
9
10
11
---
# Checks that internal links have .md extenstion and not .html extension.
#
# For a list of all options, see https://errata-ai.github.io/vale/styles/
extends: existence
message: Link %s must use the .md file extension.
link: https://docs.gitlab.com/ee/development/documentation/styleguide.html#links-to-internal-documentation
level: error
scope: raw
raw:
  - '\[.+\]\((https?:){0}[\w\/\.]+(\.html).*\)'