From 3ec7200c40d0804f4485d8f7d7f160c3d17998d6 Mon Sep 17 00:00:00 2001 From: Amy Qualls <aqualls@gitlab.com> Date: Wed, 30 Oct 2024 11:41:10 +0000 Subject: [PATCH] Proposes a test for old images Flag images that don't have the string _v16 or _v17 in the filename. --- doc/.vale/gitlab_docs/ImagesOld.yml | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 doc/.vale/gitlab_docs/ImagesOld.yml diff --git a/doc/.vale/gitlab_docs/ImagesOld.yml b/doc/.vale/gitlab_docs/ImagesOld.yml new file mode 100644 index 000000000000..dfe477bfb524 --- /dev/null +++ b/doc/.vale/gitlab_docs/ImagesOld.yml @@ -0,0 +1,13 @@ +--- +# Suggestion: gitlab_docs.ImagesOld +# +# Checks for images that are not from supported versions of GitLab +# +# For a list of all options, see https://vale.sh/docs/topics/styles/ +extends: existence +message: "Review this image. It might be out of date." +link: https://docs.gitlab.com/ee/development/documentation/styleguide/index.html#anchor-links +level: suggestion +scope: raw +raw: + - '!\[[^\]]*\]\([^\)]*_v1(?![4567])[^\)]*\)' -- GitLab