diff --git a/.mdox.validator.yaml b/.mdox.validator.yaml index 065e76794..abc003a8a 100644 --- a/.mdox.validator.yaml +++ b/.mdox.validator.yaml @@ -1,6 +1,13 @@ version: 1 +explicitLocalValidators: true # Don't check external URLs, they can time-out a lot (rate limits). +# Don't check repo-local absolute URLs, they resolve to site routes rather than +# files on the local filesystem. Keep validating other local (relative) links. validators: - type: ignore - regex: http(s|)://.* \ No newline at end of file + regex: http(s|)://.* + - type: ignore + regex: ^/.* + - type: local + regex: ^.*$ diff --git a/Makefile b/Makefile index 083acdf23..25fc44a5b 100644 --- a/Makefile +++ b/Makefile @@ -3,7 +3,7 @@ MD_FILES_TO_FORMAT=docs/specs/om/open_metrics_spec_2_0.md MDOX="mdox" $(MDOX): - @go install github.com/bwplotka/mdox@v0.9.0 + @go install github.com/bwplotka/mdox@e88e0a8655a0c91ef6a849edd29798e7e4809d75 .PHONY: help help: ## Displays help.