diff --git a/Makefile b/Makefile index dbc29d9ed5..04aa0f8cfe 100644 --- a/Makefile +++ b/Makefile @@ -144,7 +144,7 @@ docs-linkcheck: bin/python ## Run linkcheck .PHONY: docs-linkcheckbroken docs-linkcheckbroken: bin/python ## Run linkcheck and show only broken links - cd $(DOCS_DIR) && $(SPHINXBUILD) -b linkcheck $(ALLSPHINXOPTS) $(BUILDDIR)/linkcheck | GREP_COLORS='0;31' grep -wi "broken\|redirect" --color=always | GREP_COLORS='0;31' grep -vi "https://github.com/plone/volto/issues/" --color=always && if test $$? = 0; then exit 1; fi || test $$? = 1 + cd $(DOCS_DIR) && $(SPHINXBUILD) -b linkcheck $(ALLSPHINXOPTS) $(BUILDDIR)/linkcheck | GREP_COLORS='0;31' grep -wi "broken\|redirect" --color=always | GREP_COLORS='0;31' grep -vi "https://github.com/plone/volto/issues/" --color=always && if test $$? -eq 0; then exit 1; fi || test $$? -ne 0 .PHONY: docs-vale docs-vale: ## Run Vale style, grammar, and spell checks