Skip to content

Commit 5f3e1e9

Browse files
committed
ENH: make explicit build-ignore-errors to be used by linkfix
1 parent 49fe915 commit 5f3e1e9

File tree

1 file changed

+9
-3
lines changed

1 file changed

+9
-3
lines changed

docs/Makefile

Lines changed: 9 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -24,12 +24,17 @@ help:
2424
@echo " changes to make an overview over all changed/added/deprecated items"
2525
@echo " linkcheck to check all external links for integrity"
2626

27-
28-
build:
27+
build-dirs:
2928
mkdir -p build/$(BUILDER) build/doctrees
29+
30+
build: build-dirs
3031
sphinx-build $(ALLSPHINXOPTS)
3132
@echo
3233

34+
build-ignore-errors: build-dirs
35+
-sphinx-build $(ALLSPHINXOPTS)
36+
@echo
37+
3338

3439
html: BUILDER = html
3540
html: build
@@ -59,7 +64,8 @@ linkcheck: build
5964
@echo "Link check complete; look for any errors in the above output " \
6065
"or in build/$(BUILDER)/output.txt"
6166

62-
linkfix: linkcheck
67+
linkfix: BUILDER = linkcheck
68+
linkfix: build-ignore-errors
6369
$(PYTHON) utils/linkfix.py
6470
@echo "Fixing redirecting links in docs has finished; check all " \
6571
"replacements before committing them"

0 commit comments

Comments
 (0)