1
0
mirror of https://github.com/coreos/prometheus-operator.git synced 2026-02-05 06:45:27 +01:00
Files
prometheus-operator/.mdox.validate.yaml
Simon Pasquier 48c3da685e chore: disable link validation in mdox
Link validation is too flaky because most sites now implement
rate-limiting.

Signed-off-by: Simon Pasquier <spasquie@redhat.com>
2025-12-19 14:41:31 +01:00

18 lines
586 B
YAML

version: 1
timeout: "1m"
parallelism: 10
random_delay: 1s
explicitLocalValidators: true
validators:
# Ignore all external URLs because of rate-limiting protections which make the tests very flaky.
- regex: '^http(s)?://.+'
type: "ignore"
# Ignore links to /img/ because the generated content will resolve them correctly.
- regex: '/img/.+'
type: ignore
# Ignore anchor links pointing to the API documentation which are HTML <a> tags and not supported by mdox.
- regex: 'api\.md#monitoring\.coreos\.com/v1\.(BasicAuth|PrometheusSpec|StorageSpec)$'
type: ignore