2023-04-18 11:46:10 +01:00
|
|
|
# List of projects to provide to the make-docs script.
|
2023-07-13 18:24:23 +01:00
|
|
|
PROJECTS := grafana
|
2023-05-18 15:50:20 +01:00
|
|
|
|
|
|
|
|
# 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")
|
2023-05-24 14:12:30 +01:00
|
|
|
|
|
|
|
|
# Skip some doc-validator checks.
|
2023-07-13 18:24:23 +01:00
|
|
|
export DOC_VALIDATOR_SKIP_CHECKS := $(shell sed -En "s, *'--skip-checks=(.+)',\1,p" "$(shell git rev-parse --show-toplevel)/.github/workflows/doc-validator.yml")
|
2023-06-16 18:45:44 +01:00
|
|
|
|
2023-07-13 18:24:23 +01:00
|
|
|
# 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")
|