mirror of https://github.com/scrapy/scrapy.git
Add linkfix rule to docs Makefile
This commit is contained in:
parent
c05f5f175e
commit
ff987fb5a5
|
|
@ -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 " \
|
||||
|
|
|
|||
Loading…
Reference in New Issue