Skip to content

Commit

Permalink
Command tweak
Browse files Browse the repository at this point in the history
  • Loading branch information
chalin committed Feb 10, 2022
1 parent 8c3c132 commit be1330b
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -31,11 +31,11 @@ $(MARKDOWN_LINK_CHECK):
.PHONY: markdown-link-check
markdown-link-check: $(MARKDOWN_LINK_CHECK)
@for f in $(ALL_DOCS); do \
$(MARKDOWN_LINK_CHECK) --quiet --config .markdown_link_check_config.json $$f && \
$(MARKDOWN_LINK_ANCHOR_DOUBLE_HASH_CHECK) -q $$f && \
$(MARKDOWN_LINK_CHECK) --quiet --config .markdown_link_check_config.json $$f; \
! ($(MARKDOWN_LINK_ANCHOR_DOUBLE_HASH_CHECK) -q $$f || \
echo "\nError: link anchor contains double ## on these line(s):" && \
$(MARKDOWN_LINK_ANCHOR_DOUBLE_HASH_CHECK) -n $$f && echo && \
exit 1; \
$(MARKDOWN_LINK_ANCHOR_DOUBLE_HASH_CHECK) -n $$f && echo) \
|| exit 1; \
done

$(MARKDOWN_TOC):
Expand Down

0 comments on commit be1330b

Please sign in to comment.