File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -189,7 +189,7 @@ linkcheck: deps ## Run linkcheck
189189
190190.PHONY : linkcheckbroken
191191linkcheckbroken : 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
192+ cd $(DOCS_DIR ) && $(SPHINXBUILD ) -b linkcheck $(ALLSPHINXOPTS ) $(BUILDDIR ) /linkcheck | GREP_COLORS=' 0;31' grep -wi " broken\|redirect" --color=auto || test $$? = 1
193193 @echo
194194 @echo " Link check complete; look for any errors in the above output " \
195195 " or in $( BUILDDIR) /linkcheck/ ."
@@ -212,7 +212,7 @@ doctest: deps
212212 " results in $( BUILDDIR) /doctest/output.txt."
213213
214214.PHONY : test
215- test : clean linkcheck spellcheck # # Clean docs build, then run linkcheck , spellcheck
215+ test : clean linkcheckbroken spellcheck # # Clean docs build, then run linkcheckbroken , spellcheck
216216
217217.PHONY : deploy
218218deploy : clean html
You can’t perform that action at this time.
0 commit comments