We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ea015d2 commit e607febCopy full SHA for e607feb
Makefile
@@ -189,7 +189,7 @@ linkcheck: deps ## Run linkcheck
189
190
.PHONY: linkcheckbroken
191
linkcheckbroken: deps ## Run linkcheck and show only broken links
192
- cd $(DOCS_DIR) && $(SPHINXBUILD) -b linkcheck $(ALLSPHINXOPTS) $(BUILDDIR)/linkcheck | GREP_COLORS='0;31' grep -wi "broken\|redirect" --color=auto
+ cd $(DOCS_DIR) && $(SPHINXBUILD) -b linkcheck $(ALLSPHINXOPTS) $(BUILDDIR)/linkcheck | GREP_COLORS='0;31' grep -wi "broken\|redirect" --color=auto || test $$? = 1
193
@echo
194
@echo "Link check complete; look for any errors in the above output " \
195
"or in $(BUILDDIR)/linkcheck/ ."
0 commit comments