Revision 11c46c68bbef5c2dcb46d940e35f3e23ad8f1eb1 authored by Torkel Ödegaard on 27 March 2024, 13:55:48 UTC, committed by grafana-delivery-bot[bot] on 27 March 2024, 13:57:15 UTC
---------

Co-authored-by: Ivan Ortega <ivanortegaalba@gmail.com>
(cherry picked from commit 61e67423ff21185a75f69cfbe5a423f816184fac)
1 parent 76565ce
Raw File
variables.mk
# List of projects to provide to the make-docs script.
PROJECTS := grafana

# Use the doc-validator image defined in CI by default.
export DOC_VALIDATOR_IMAGE := $(shell sed -En 's, *image: "(grafana/doc-validator[^"]+)",\1,p' "$(shell git rev-parse --show-toplevel)/.github/workflows/doc-validator.yml")

# Skip some doc-validator checks.
export DOC_VALIDATOR_SKIP_CHECKS := $(shell sed -En "s, *'--skip-checks=(.+)',\1,p" "$(shell git rev-parse --show-toplevel)/.github/workflows/doc-validator.yml")

# Only run on sections that have been enabled in CI.
export DOC_VALIDATOR_INCLUDE := $(shell sed -En "s, *'--include=\\^docs/sources/(.+)',/hugo/content/docs/grafana/latest/\1,p" "$(shell git rev-parse --show-toplevel)/.github/workflows/doc-validator.yml")
back to top