Skip to content

Commit 7e1defb

Browse files
Update make docs procedure (#1485)
* Update `make docs` procedure * Update `make docs` procedure --------- Co-authored-by: grafanabot <[email protected]>
1 parent 7e0d855 commit 7e1defb

File tree

1 file changed

+10
-4
lines changed

1 file changed

+10
-4
lines changed

docs/make-docs

Lines changed: 10 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,13 @@
66
# [Semantic versioning](https://semver.org/) is used to help the reader identify the significance of changes.
77
# Changes are relevant to this script and the support docs.mk GNU Make interface.
88
#
9-
9+
# ## 5.2.0 (2024-01-18)
10+
#
11+
# ### Changed
12+
#
13+
# - Updated `make vale` to use latest Vale style and configuration.
14+
# - Updated `make vale` to use platform appropriate image.
15+
#
1016
# ## 5.1.2 (2023-11-08)
1117
#
1218
# ### Added
@@ -704,14 +710,14 @@ case "${image}" in
704710
"${PODMAN}" run \
705711
--init \
706712
--interactive \
707-
--platform linux/amd64 \
708713
--rm \
714+
--workdir /etc/vale \
709715
--tty \
710716
${volumes} \
711717
"${DOCS_IMAGE}" \
712718
"--minAlertLevel=${VALE_MINALERTLEVEL}" \
713-
--config=/etc/vale/.vale.ini \
714-
--output=line \
719+
'--glob=*.md' \
720+
--output=/etc/vale/rdjsonl.tmpl \
715721
/hugo/content/docs | sed "s#$(proj_dst "${proj}")#sources#"
716722
;;
717723
*)

0 commit comments

Comments
 (0)