From 2f21a837e076a209cb20e16121e761625cd5585c Mon Sep 17 00:00:00 2001 From: Suzanne Selhorn <sselhorn@gitlab.com> Date: Wed, 31 Jan 2024 03:41:57 +0000 Subject: [PATCH] Adding rule for version history bullets Because we always want them to have bullets Related to: https://gitlab.com/gitlab-org/gitlab-docs/-/issues/1751 --- doc/.vale/gitlab/HistoryItems.yml | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 doc/.vale/gitlab/HistoryItems.yml diff --git a/doc/.vale/gitlab/HistoryItems.yml b/doc/.vale/gitlab/HistoryItems.yml new file mode 100644 index 000000000000..59a703565f39 --- /dev/null +++ b/doc/.vale/gitlab/HistoryItems.yml @@ -0,0 +1,12 @@ +--- +# Warning: gitlab.VersionHistory +# +# Ensures version history items are properly formatted. +# +extends: existence +message: "Version history items should always start with '> -', even if there is only one item." +link: https://docs.gitlab.com/ee/development/documentation/versions.html#add-a-version-history-item +level: warning +scope: raw +raw: + - '(?m)(?<=^#+[^\n]*\n\n)> [^-]' -- GitLab