From ff987fb5a571ba91cb4e8bd0472e94579acbf2a2 Mon Sep 17 00:00:00 2001 From: Julia Medina Date: Wed, 18 Mar 2015 20:00:03 -0300 Subject: [PATCH] Add linkfix rule to docs Makefile --- docs/Makefile | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/docs/Makefile b/docs/Makefile index c6e4dd64d..4289690f0 100644 --- a/docs/Makefile +++ b/docs/Makefile @@ -26,7 +26,7 @@ help: build: mkdir -p build/$(BUILDER) build/doctrees - sphinx-build $(ALLSPHINXOPTS) + -sphinx-build $(ALLSPHINXOPTS) @echo @@ -58,6 +58,11 @@ linkcheck: build @echo "Link check complete; look for any errors in the above output " \ "or in build/$(BUILDER)/output.txt" +linkfix: linkcheck + $(PYTHON) utils/linkfix.py + @echo "Fixing redirecting links in docs has finished; check all " \ + "replacements before committing them" + doctest: BUILDER = doctest doctest: build @echo "Testing of doctests in the sources finished, look at the " \