Skip to content

Commit 0c6f484

Browse files
authored
Exclude github.com from markdown-link-check (open-telemetry#675)
1 parent b70565d commit 0c6f484

File tree

2 files changed

+8
-1
lines changed

2 files changed

+8
-1
lines changed

.markdown_link_check_config.json

+7
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
{
2+
"ignorePatterns": [
3+
{
4+
"pattern": "^https://github\\.com"
5+
}
6+
]
7+
}

Makefile

+1-1
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ install-markdown-link-check:
2424

2525
.PHONY: markdown-link-check
2626
markdown-link-check:
27-
@for f in $(ALL_DOCS); do $(MARKDOWN_LINK_CHECK) --quiet $$f; done
27+
@for f in $(ALL_DOCS); do $(MARKDOWN_LINK_CHECK) --quiet --config .markdown_link_check_config.json $$f; done
2828

2929
.PHONY: install-markdown-lint
3030
install-markdown-lint:

0 commit comments

Comments
 (0)