File tree 4 files changed +10
-4
lines changed 4 files changed +10
-4
lines changed Original file line number Diff line number Diff line change @@ -7,6 +7,7 @@ variables:
7
7
RUNNER_IMAGES_VERSION : " 0.0.14"
8
8
RUNNER_IMAGES_WINDOWS_GO_URL : https://gitlab.com/api/v4/projects/gitlab-org%2fci-cd%2frunner-tools%2fbase-images/packages/generic/runner-images/v${RUNNER_IMAGES_VERSION}/golang-windows-amd64.zip
9
9
CI_IMAGE : " ${RUNNER_IMAGES_REGISTRY}/ci:${RUNNER_IMAGES_VERSION}"
10
+ DOCS_LINT_IMAGE : registry.gitlab.com/gitlab-org/technical-writing/docs-gitlab-com/lint-markdown:alpine-3.21-vale-3.11.2-markdownlint2-0.17.2-lychee-0.18.1
10
11
# Feature flags
11
12
FF_SCRIPT_SECTIONS : " true"
12
13
FF_USE_FASTZIP : " true"
Original file line number Diff line number Diff line change @@ -92,13 +92,15 @@ mage tests:
92
92
93
93
# Perform documentation linting and link checking on Markdown files
94
94
docs:lint markdown :
95
- image : registry.gitlab.com/gitlab-org/technical-writing/docs-gitlab-com/lint-markdown:alpine-3.20-vale-3.9.3-markdownlint2-0.17.1-lychee-0.15.1
95
+ image : $DOCS_LINT_IMAGE
96
96
stage : qa
97
97
extends :
98
98
- .rules:merge_request_pipelines
99
99
- .no_cache_and_dependencies
100
100
needs : []
101
101
script :
102
+ # Makefiles in this project expect Go to be available
103
+ - apk add --quiet go
102
104
# Lint content and Markdown, and check links
103
105
- make lint-docs VALE_MIN_ALERT_LEVEL=error
104
106
Original file line number Diff line number Diff line change @@ -4,5 +4,6 @@ yq 4.44.3
4
4
mockery 2.43.0
5
5
6
6
# For linting documentation
7
- markdownlint-cli2 0.17.1
8
- vale 3.9.3
7
+ markdownlint-cli2 0.17.2
8
+ lychee 0.18.1
9
+ vale 3.11.2
Original file line number Diff line number Diff line change 1
1
# Vale configuration file.
2
2
#
3
- # For more information, see https://errata-ai.gitbook.io/vale/getting-started/configuration .
3
+ # For more information, see https://vale.sh/docs/vale-ini .
4
4
5
5
StylesPath = docs/.vale
6
6
MinAlertLevel = suggestion
7
7
8
+ IgnoredScopes = code, text.frontmatter.redirect_to
9
+
8
10
[*.md]
9
11
BasedOnStyles = gitlab_base, gitlab_docs
10
12
You can’t perform that action at this time.
0 commit comments