Update make docs procedure (#80855)

Co-authored-by: grafanabot <bot@grafana.com>
This commit is contained in:
github-actions[bot] 2024-01-19 09:33:48 +00:00 committed by GitHub
parent 759c088ac5
commit ed196e67a8
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -6,7 +6,13 @@
# [Semantic versioning](https://semver.org/) is used to help the reader identify the significance of changes. # [Semantic versioning](https://semver.org/) is used to help the reader identify the significance of changes.
# Changes are relevant to this script and the support docs.mk GNU Make interface. # Changes are relevant to this script and the support docs.mk GNU Make interface.
# #
# ## 5.2.0 (2024-01-18)
#
# ### Changed
#
# - Updated `make vale` to use latest Vale style and configuration.
# - Updated `make vale` to use platform appropriate image.
#
# ## 5.1.2 (2023-11-08) # ## 5.1.2 (2023-11-08)
# #
# ### Added # ### Added
@ -704,13 +710,13 @@ case "${image}" in
"${PODMAN}" run \ "${PODMAN}" run \
--init \ --init \
--interactive \ --interactive \
--platform linux/amd64 \
--rm \ --rm \
--workdir /etc/vale \
--tty \ --tty \
${volumes} \ ${volumes} \
"${DOCS_IMAGE}" \ "${DOCS_IMAGE}" \
"--minAlertLevel=${VALE_MINALERTLEVEL}" \ "--minAlertLevel=${VALE_MINALERTLEVEL}" \
--config=/etc/vale/.vale.ini \ '--glob=*.md' \
--output=line \ --output=line \
/hugo/content/docs | sed "s#$(proj_dst "${proj}")#sources#" /hugo/content/docs | sed "s#$(proj_dst "${proj}")#sources#"
;; ;;