Add linkfix rule to docs Makefile

This commit is contained in:
Julia Medina 2015-03-18 20:00:03 -03:00
parent c05f5f175e
commit ff987fb5a5
1 changed files with 6 additions and 1 deletions

View File

@ -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 " \