Skip to content

Commit 6ae99da

Browse files
committed
Check for "redirect" as well as "broken" in linkcheckbroken
1 parent f243d8b commit 6ae99da

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -170,7 +170,7 @@ linkcheck: deps ## Run linkcheck
170170

171171
.PHONY: linkcheckbroken
172172
linkcheckbroken: deps ## Run linkcheck and show only broken links
173-
cd $(DOCS_DIR) && $(SPHINXBUILD) -b linkcheck $(ALLSPHINXOPTS) $(BUILDDIR)/linkcheck | GREP_COLORS='0;31' grep -wi broken --color=auto
173+
cd $(DOCS_DIR) && $(SPHINXBUILD) -b linkcheck $(ALLSPHINXOPTS) $(BUILDDIR)/linkcheck | GREP_COLORS='0;31' grep -wi "broken\|redirect" --color=auto
174174
@echo
175175
@echo "Link check complete; look for any errors in the above output " \
176176
"or in $(BUILDDIR)/linkcheck/ ."

0 commit comments

Comments
 (0)